Thanks Lonnie. I really need the exclude folder option. I am trying to exclude
the monitor folder which got 4 years worth of .wav files. Will be hard to
list every file :-) and they keep adding every day.
How come this version of tar does not have the folder exclude option? Strange
On
Ionel,
If you want to exclude certain directories, play with something like this:
--
tar czf backup.tar.gz $(ls -1 /mnt/kd/ | sed -e s/^cdr-.*// -e
s/^monitor$// -e s/^voicemail$//) -C /mnt/kd
--
This excludes cdr-*, monitor and voicemail directories.
Lonnie
On Aug 26, 2015, at 5:56 PM, Ionel