in reply to Is this the most elegant way to code directory lookup?
But I guess I'd backup all the files in a single archive; then I'd use find (as above) to list the files, and pipe that into cpio to create the archive.cd /var/local/some_dir find . -type -f -mtime 1 -maxdepth 1 \ -exec tar cfz /backup/some_dir/{}.tar.gz {} \;
|
|---|