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 from the Cygwin Users mai
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 are
in a variable.
Pr
2 matches
Mail list logo