Mick <michaelkintz...@gmail.com> wrote: > This has puzzled me too. Is there a way of passing the equivalent of > tar's --exclude <file_pattern> at star, rather than a file containing a list > of files to be excluded? I have been reading the -F,-FF ... but have failed > to understand it so far :(
Tar has no --exclude option. You may be talking about a program that is not really tar compatible and that is called gtar ;-) Star has a pat= option since more than 20 years. In any case, if you like to make incremental backups, you should be very careful with exclude options as incremental restore it cannot work if an exclude file is renamed into the non-excluded universe. > Also, what happens if you run star to archive a directory that contains man & > info files? I have run this on a CentOS machine and I think I had to abort > because it was taking for ever and the size of the archive had already frown > to twice the size of a tar archive ... (not sure if it was related to me Star does not go into infinite loops as long as your filesystem is not broken. > using exustar as a format?) The complete command was something like: > > star -c -xattr -H=exustar -sparce -M -C /media/hda6 . -f > /media/<backup>/hda6_date.star It seems that I need to enhance the substitute parser to abort star when a nonsense parameter is given to the -s option. > PS. Is Ctrl+c meant to exit star, or was I too impatient - I recall having to > kill the PID to get it to stop. Star works the same way as tar does: it does not abort leaving an inconsistent archive. For this reason, star first finishes with the current archive before exiting. Jörg -- EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin j...@cs.tu-berlin.de (uni) joerg.schill...@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily