If I run this:find /path/to/files/ -type f -mtime -2 -name *.xml.gzI get the expected results, files with modify time less than two days old.But, if I run it like this, with the print0 flag:find /path/to/files/ -print0 -type f -mtime -2 -name *.xml…
I have a string, 2012_10_16; lets call this $YESTERDAYHow can I rsync a file tree from a remote machine to the local one, including *only* filenames that contain the matching string?Ive read the man page and googled around but cant seem to get the syn..
Suppose you have server A and server B.Server B is running 60seconds too fast, while server A is accurate.Is there a way to gradually move server Bs time back into sync with server A, without making a drastic, immediate change to the clock?In other wor..
This snippet of code pulls an array of hostnames from some log files. It has to parse around 3GB of log files, so Im keen on making it as efficient as..