11-02-2012
FYI: os2mac's second post here was in the moderation queue... I approved it just a second before ctsgnb's reply.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi, everybody
I want to know hot to watch changes on a dir, for example if someone changes a file inside it, with an script. I've tried using md5sum and then diff, sadly with no success.
I use md5sum for single files, but doesn't work for directories. The idea is take a snapshot with md5sum,... (4 Replies)
Discussion started by: piltrafa
4 Replies
2. UNIX for Dummies Questions & Answers
I'm rusty with unix admin, and I was just informed by a peer in another city that I need to watch my unix log files for size, but she never told me which ones to watch - and of course, now she's gone for two weeks! I am using Sco OpenServer 5.5 (I believe), can anyone tip me off on the trouble log... (3 Replies)
Discussion started by: citygov
3 Replies
3. UNIX for Advanced & Expert Users
Hi all,
This is actually more for my lazyness then anything else, but I think others might find it useful to use as well. Basically this is what I am trying to achieve...
In my ubuntu home dir under Downloads is where firefox saves everything by default, now I know that you can manually... (3 Replies)
Discussion started by: STOIE
3 Replies
4. Shell Programming and Scripting
Hi all,
How can I do a ksh script to watch a log file for 2 specific alarms that have one this string : "Connection Error" and the other one: "Failure in sending". I would like to watch for these two alarms in the log and then if each of them repeats for about 30 times to go kill 2 processes.
... (1 Reply)
Discussion started by: Pouchie1
1 Replies
5. UNIX for Advanced & Expert Users
I want to backup all the directory tress, including hidden directories, without copying any files.
find . -type d gives the perfect list.
When I tried tar, it won't work for me because it tars all the files.
find . -type d | xargs tar -cvf a.tar
So i tried rsync.
On my own test box, the... (4 Replies)
Discussion started by: fld2007
4 Replies
6. Shell Programming and Scripting
got it figured out :) (1 Reply)
Discussion started by: sHockz
1 Replies
7. Shell Programming and Scripting
I need a script which should watch a directory for a file with specific directory.
If it finds a file in directory, it should search for few specific keyword in the file. if the keyword exists, it should trim string from specific column.
The file should be moved to another directory and the a... (8 Replies)
Discussion started by: akashdeepak
8 Replies
8. Shell Programming and Scripting
I dont know if this possible. I need to watch a directory and if any file gets appeneded with a particular entry say, nologin.php, we should get output of that. (1 Reply)
Discussion started by: anil510
1 Replies
9. Shell Programming and Scripting
Hi all,
i have a folder, with tons of files containing as following,
on /my/folder/jobs/
some_name_2016-01-17-22-38-58_some name_0_0.zip.done
some_name_2016-01-17-22-40-30_some name_0_0.zip.done
some_name_2016-01-17-22-48-50_some name_0_0.zip.done
and these can be lots of similar files,... (6 Replies)
Discussion started by: charli1
6 Replies
10. Shell Programming and Scripting
Given a directory containing say a few thousand files,
please output a list of all the names of the files in the directory that are exactly the same, i.e. have the same contents.
func(a_directory_name) output -> {“matches”: , ... ]}
e.g. func(“/home/my/files”) where the directory... (7 Replies)
Discussion started by: anuragpgtgerman
7 Replies
LEARN ABOUT DEBIAN
nzbget
NZBGET(1) User Commands NZBGET(1)
NAME
nzbget - binary news file grabber
DESCRIPTION
Usage:
nzbget [switches]
Switches:
-h, --help
Print this help-message
-v, --version
Print version and exit
-c, --configfile <file>
Filename of configuration-file
-n, --noconfigfile
Prevent loading of configuration-file (required options must be passed with --option)
-p, --printconfig
Print configuration and exit
-o, --option <name=value> Set or override option in configuration-file
-s, --server
Start nzbget as a server in console-mode
-D, --daemon
Start nzbget as a server in daemon-mode
-V, --serverversion
Print server's version and exit
-Q, --quit
Shutdown server
-A, --append <nzb-file>
Send file to server's download queue
-C, --connect
Attach client to server
-L, --list
[F|G|O|S|H] Request list of downloads from server
F list individual files and server status (default)
G list groups (nzb-files) and server status
O list post-processor-queue
H list history
S print only server status
-P, --pause
[D|D2|O|S] Pause server:
D pause download queue (default)
D2 pause download queue via second pause-register
O pause post-processor queue
S pause scan of incoming nzb-directory
-U, --unpause [D|D2|O|S]
Unpause server:
D unpause download queue (default)
D2 unpause download queue via second pause-register
O unpause post-processor queue
S unpause scan of incoming nzb-directory
-R, --rate <speed>
Set download rate on server, in KB/s
-T, --top
Add file to the top (beginning) of queue (for using with switch --append)
-K, --category <name>
Assign category to nzb-file (for using with switch --append)
-G, --log <lines>
Request last <lines> lines from server's screen-log
-W, --write <D|I|W|E|G> "Text" Send text to server's log
-S, --scan
Scan incoming nzb-directory on server
-E, --edit [G|O|H] <action> <IDs> Edit items on server
G Affect all files in the group (same nzb-file)
O Edit post-processor-queue
H Edit history
<action> is one of:
<+offset|-offset>
Move file(s)/group(s)/post-job in queue relative to current position, offset is an integer value
T Move file(s)/group(s)/post-job to top of queue
B Move file(s)/group(s)/post-job to bottom of queue
P Pause file(s)/group(s)/ Postprocess history-item(s) again
U Resume (unpause) file(s)/group(s)
A Pause all pars (for groups)
R Pause extra pars (for groups)/ Return history-item(s) back to download queue
D Delete file(s)/group(s)/post-job(s)/history-item(s)
K <name>
Set category (for groups)
N <name>
Rename (for groups)
M Merge (for groups)
O <name>=<value>
Set post-process parameter (for groups)
I <priority>
Set priority (signed integer) for file(s)/group(s)
<IDs> Comma-separated list of file-ids or ranges of file-ids, e. g.: 1-5,3,10-22
nzbget version: 0.7.0 May 2011 NZBGET(1)