-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathREADME
32 lines (21 loc) · 962 Bytes
/
README
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
ATTENTION!
Work on this debian-goodies fork has been discontinued. Please use
Debian's own debian-goodies.
The restart-services script, that was the one added feature/script
to debian-goodies lives on at
https://github.com/sourcepole/restart-services
There is no substantial documentation yet. Volunteer authors are
more than welcome. Here are some examples to get you started.
# Search all files in specified packages for a regex
$ dgrep <pattern> <package>...
# Search through all files in all installed packages for a regex
$ dgrep <pattern> '.*'
# Same, but also search inside compressed files
$ dzgrep <pattern> '.*'
# Calculate the total disk space usage of all files contained in all
# installed packages whose names begin with 'lib'
$ dglob -0f ^lib | xargs -0 du -c | awk '{sum += $1} END {print sum}'
# Fetch most recent version of package
$ debget <package>
# Fetch a specific version of package
$ debget <package>=<version>