Hello, I have a mail server that creates back dir's with the creation date as part of the dir name. For example; full-20090901.080010.175/. I'd like to create a cron job that can tar the dir with a .tgz extension and retain the dir name in the resulting tar file. For example, full-20090901.080010.175.tgz. The dir name will change daily. I have the following commands to get the dir name, but getting that name into a tar file and having a good tar file created is not working. What I have so far; <snip> find -maxdepth 1 -type d -mtime -1 [this gets the dir name] -exec tar czf {}.tgz {} \; <snip> The squiggly brackets {} contain the dir name, but the tarball creation isn't working. Any hints on creating a cronjob script that can tarball a dir whose name will change on a daily basis and have the resulting tar file retain the name of the original dir name? Many thanks in advance, James -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org