Skip to content

Commit 1edac43

Browse files
author
nixnodes
committed
update outdated examples
1 parent ac90612 commit 1edac43

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

DATA_STRUCTURES

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,8 @@ FLAGS:
209209
released I Released time since epoch (man 2 time)
210210
runtime I Runtime
211211
year I Year of release | !*changed from string to integer in 1.9-72, update existing databases*!
212+
country S Country
213+
language S Language
212214
plot S Plot/synopsis
213215

214216

FAQ

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -129,29 +129,29 @@ Print the users that are online.
129129
This will print out online users with pid and loop the information every 1 second.
130130
glutil -w -print "username: {user} | pid: {pid}" --loop 1 --loopexec "clear" --preexec "clear" --silent
131131

132-
This will print out all movies with comedy genre of scores greater than 6.
133-
glutil -a iregexi genres,"comedy" and ilom "score > 6.0" --batch | cut -f 3,6
134-
132+
This will print out all movies with comedy genre of scores greater than 6, sorted ascending by score.
133+
glutil -a -l: genres -regexi "comedy" -and -lom "score > 6.0" -print " {(?P:(score)#%-4s)} | {title#%-40s} ({year}) | {country} | {language} {:n}------|-- {(?P:plot#%.120s)} " --sort score
134+
135135
This will print out the tvrage info stored in the tv.log, case insensative.
136-
glutil -h --iregexi name,"Hell On Wheels"
136+
glutil -h -l: name -regexi "Hell On Wheels"
137137

138138
Remove from the dirlog what is in the regex. In this case it would remove any entries with repeating
139139
back-slashes in path
140-
glutil -e dirlog -vvv --regex "[\/]{2,}"
140+
glutil -e dirlog -vvv ! -regex "[\/]{2,}"
141141

142142
Output all the entries in the nukelog that are under 7 days of age.
143-
glutil -n --lom "time < $(expr $(date +%s) - 604800)"
143+
glutil -n -lom "time < (curtime-604800)"
144144

145145
Finds dupes in dirlog - all match params apply. If no explicit match is given, it dupefinds for all records (can take
146146
a long time)
147-
glutil -p imatch basedir,"Some.Dir.LA-LA"
147+
glutil -p -l: ?b:dir -match "Some.Dir.LA-LA"
148148

149149
Do a recursive search for files or symlinks in /glftpd/site, that contain the
150-
word 'linux' in path (case-insensitive) and are not older than 7 days
150+
word 'share' in path (case-insensitive) and are not older than 7 days
151151
(604800 secs). Stays on the current filesystem. Prints to stdout.
152152
Type glutil --info -vv to see the list of modes that can be matched against.
153153

154-
glutil -x /glftpd/site -recursive -xdev ilom "ctime > curtime-604800 && mode==10 || mode==8" and iregexi basepath,"linux" --batch
154+
glutil -x / -R -xdev -lom "ctime > (curtime-604800) && mode == 10 || mode == 8" -and -l: ?b:path -regexi "share" -print "Mode: {(?P:(mode#%-5d))} {(?P:(?tl:mtime)#%-25s)} {path}"
155155

156156

157157
glutil is supposed to be able to show me game ratings, how is that done?

0 commit comments

Comments
 (0)