Tar command copied multiple times?
Has anyone seen this before? I was executing a tar in a batch mode and it copied all the files in the $FILE 4 times.
find / -fprint $FILES cd / tar -cvPj -T $FILES -f $BACKUPDEV \ --exclude=/proc* \ --exclude=/dev* \ --exclude=/tmp* \ --exclude=/var/lock* \ --exclude=/var/state* \ --exclude=/db2dat* \ --exclude=/usr/data* \ I redirected to a file (.log and 2>.err) and when I run a grep on any file which was copied (on the .log) returns 4 occurances I am running CentOS 3.1 tar-1.13.25-13 |
" --exclude=/usr/data* \"
Do you really have a continuation on the last line of the command or is that a typo? If that \ is really on the command then your problem could be caused by whatever the next line adds to the tar command. ------------------------------ Steve Stites |
All times are GMT -5. The time now is 11:19 AM. |