1CACHEDIR(1) General Commands Manual CACHEDIR(1)
2
3
4
6 cachedir - tag/untag/find cache directories
7
9 cachedir [--config=FILE] [--dump-config] [--dump-setting-names]
10 [--generate-manpage=TEMPLATE] [-h] [--help] [--help-all]
11 [--list-config-files] [--version] [--no-default-configs]
12 [--dump-memory-profile=METHOD] [--log=FILE] [--log-keep=N]
13 [--log-level=LEVEL] [--log-max=SIZE] [--log-mode=MODE]
14 [--memory-dump-interval=SECONDS] [--output=FILE]
15
16 cachedir [options] help
17 cachedir [options] help-all
18
20 cachedir tags directories as cache directories, or remotes such tags,
21 or finds tagged directories. A cache directory tag is a file called
22 CACHEDIR.TAG with a specific content. See the specification referenced
23 from the "SEE ALSO" section for details.
24
26 --generate-manpage=TEMPLATE
27 fill in manual page TEMPLATE
28
29 -h, --help
30 show this help message and exit
31
32 --output=FILE
33 write output to FILE, instead of standard output
34
35 --version
36 show program's version number and exit
37
38 Configuration files and settings
39 --config=FILE
40 add FILE to config files
41
42 --dump-config
43 write out the entire current configuration
44
45 --dump-setting-names
46 write out all names of settings and quit
47
48 --help-all
49 show all options
50
51 --list-config-files
52 list all possible config files
53
54 --no-default-configs
55 clear list of configuration files to read
56
57 Logging
58 --log=FILE
59 write log entries to FILE (default is to not write log files at
60 all); use "syslog" to log to system log, "stderr" to log to the
61 standard error output, or "none" to disable logging
62
63 --log-keep=N
64 keep last N logs (10)
65
66 --log-level=LEVEL
67 log at LEVEL, one of debug, info, warning, error, critical, fa‐
68 tal (default: debug)
69
70 --log-max=SIZE
71 rotate logs larger than SIZE, zero for never (default: 0)
72
73 --log-mode=MODE
74 set permissions of new log files to MODE (octal; default 0600)
75
76 Peformance
77 --dump-memory-profile=METHOD
78 make memory profiling dumps using METHOD, which is one of: none,
79 simple, or meliae (default: simple)
80
81 --memory-dump-interval=SECONDS
82 make memory profiling dumps at least SECONDS apart
83
85 To tag a directory as a cache directory:
86
87 cachedir tag $HOME/.cache
88
89 To remove a cache directory tag:
90
91 cachedir untag $HOME/.cache
92
93 To find all cache directories below your home directory:
94
95 cachedir find $HOME
96
98 http://www.bford.info/cachedir/
99
100
101
102 CACHEDIR(1)