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 2.1 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
94
95
96
97
98
99
100
101
102
103
  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*] \| **geography**\ [=\ *name*] \| **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, geography, 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-geography:
  31. **geography**\ [=\ *name*]
  32. Delete the user's geography directory. Append either *=gshhg* or *=dcw*
  33. if you only want to delete the named data set [both].
  34. .. _clear-sessions:
  35. **sessions**
  36. Delete the user's sessions directory.
  37. .. _clear-settings:
  38. **settings**
  39. Delete the current default settings file (gmt.conf) used for the current modern session.
  40. .. |Add_-V| replace:: |Add_-V_links|
  41. .. include:: explain_-V.rst_
  42. :start-after: **Syntax**
  43. :end-before: **Description**
  44. .. include:: explain_help_nopar.rst_
  45. Examples
  46. --------
  47. To remove the current default settings in a modern mode session, use::
  48. gmt clear settings
  49. To completely wipe your GMT cache directory, try::
  50. gmt clear cache
  51. To remove your GMT geography directory with downloaded GSHHG and DCW data, try::
  52. gmt clear geography
  53. To only wipe your GMT server directory for Earth data, try::
  54. gmt clear data=earth
  55. To only wipe your entire GMT server and cache directories, (carefully) try::
  56. gmt clear all
  57. .. include:: data-updating.rst_
  58. See Also
  59. --------
  60. :doc:`begin`,
  61. :doc:`docs`,
  62. :doc:`end`,
  63. :doc:`figure`,
  64. :doc:`inset`,
  65. :doc:`subplot`,
  66. :doc:`gmt`
Tip!

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

Comments

Loading...