Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

clear.rst 1.8 KB

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
  1. .. index:: ! clear
  2. .. include:: module_core_purpose.rst_
  3. *****
  4. clear
  5. *****
  6. |clear_purpose|
  7. Synopsis
  8. --------
  9. .. include:: common_SYN_OPTs.rst_
  10. **gmt clear** **all** \| **cache** \| **data**\ [=\ *planet*] \| **sessions** \| **settings**
  11. [ |SYN_OPT-V| ]
  12. |No-spaces|
  13. Description
  14. -----------
  15. The clear command allows users to delete their entire user cache, data, or sessions
  16. directories, and in modern mode their defaults settings (i.e., gmt.conf), or all of the above.
  17. Optional Arguments
  18. ------------------
  19. .. _clear-all:
  20. **all**
  21. Deletes all the items under the control of the individual targets.
  22. .. _clear-cache:
  23. **cache**
  24. Delete the user's cache directory and all of its contents.
  25. .. _clear-data:
  26. **data**\ [=\ *planet*]
  27. Delete the user's data download server directory and all of its contents.
  28. Alternatively, append =\ *planet* for a specific planet and we only delete
  29. data for that sub-directory [all planets].
  30. .. _clear-sessions:
  31. **sessions**
  32. Delete the user's sessions directory.
  33. .. _clear-settings:
  34. **settings**
  35. Delete the current default settings file (gmt.conf) used for the current modern session.
  36. .. _-V:
  37. .. |Add_-V| unicode:: 0x20 .. just an invisible code
  38. .. include:: explain_-V.rst_
  39. .. include:: explain_help_nopar.rst_
  40. Examples
  41. --------
  42. To remove the current default settings in a modern mode session, use::
  43. gmt clear settings
  44. To completely wipe your GMT cache directory, try::
  45. gmt clear cache
  46. To only wipe your GMT server directory for Earth data, try::
  47. gmt clear data=earth
  48. To only wipe your entire GMT server and cache directories, (carefully) try::
  49. gmt clear all
  50. .. include:: data-updating.rst_
  51. See Also
  52. --------
  53. :doc:`begin`,
  54. :doc:`docs`,
  55. :doc:`end`,
  56. :doc:`figure`,
  57. :doc:`inset`,
  58. :doc:`subplot`,
  59. :doc:`gmt`
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...