Files

Watch How Many Files There Are In A Folder

Sometimes you have a folder full of tens of thousands of files, a spool folder can quite often grow when something breaks. While you've waiting for a service to process these files you can watch the directory count every 20 seconds or so.

Create A tar.gz File Of All Files In A Folder

Output:tar: Removing leading `/' from member names/usr/local/nagios/etc//usr/local/nagios/etc/cgi.cfg/usr/local/nagios/etc/htpasswd.users/usr/local/nagios/etc/nagios.cfg/usr/local/nagios/etc/resource.cfg/usr/local/nagios/etc/objects//usr/local/nagios/etc/objects/timeperiods.cfg/usr/local/nagios/etc/objects/templates.cfg/usr/local/nagios/etc/objects/printer.cfg/usr/local/nagios/etc/objects/contacts.cfg/usr/local/nagios/etc/objects/commands.cfg/usr/local/nagios/etc/objects/localhost.cfg/usr/local/nagios/etc/objects/windows.cfg/usr/local/nagios/etc/objects/switch.cfg/usr/local/nagios/etc/objects/box293_check_vmware.cfg