Re: Space in Dir Name with shell script and tar

2007-01-17 Thread Troy
Thanks, This worked DIRECTORY_TO_BACKUP="/cygdrive/g/Mark I+/Experimental Data" tar -czvpf $NAME_OF_BACKUP.tgz "$DIRECTORY_TO_BACKUP" Troy -- View this message in context: http://www.nabble.com/Space-in-Dir-Name-with-shell-script-and-tar-tf3031755.html#a8424281 Sent f

Re: Space in Dir Name with shell script and tar

2007-01-17 Thread Enrique Perez-Terron
From: "Troy" <[EMAIL PROTECTED]> To: Sent: Thursday, January 18, 2007 2:50 AM Subject: Space in Dir Name with shell script and tar I am trying to make a shell script to do automatic bckups with tar. My problem is that tar stumbles on the spaces in the dir names if they a

Space in Dir Name with shell script and tar

2007-01-17 Thread Troy
om member names tar: /cygdrive/g/Mark': Cannot stat: No such file or directory tar: 'I+/Experimental': Cannot stat: No such file or directory tar: 'Data/*: Cannot stat: No such file or directory tar: Error exit delayed from previous errors What am I doing wrong? -- View t