5

[ubuntu] Trying to understand this "find" command... assistance requested.

view full story
linux-howto

http://ubuntuforums.org – I have surveillance cameras on my property at home. These cameras simply save via Samba 24/7. They create directories based on year/month/day/hour. Since they record 24/7, I have a bash script which runs the find command which deletes any feeds older than 3 days. This way I preserve disk space, plus within 3 days I should have noticed if a package went missing on the step that UPS dropped off, etc. With that being said, once that script runs I'm now left with empty directories that were previously occupied by the video feeds. So I set out to find something to take care of the empty directorie (Hardware)