Hi -----Original Message----- From: W.D.McKinney [SMTP:deem@wdm.com] Sent: Monday, May 08, 2000 6:40 PM
Need to move /usr to a different partion, any good way ? /Dee
This is something I got from the tips-howto, I made it into a script because I could never remember the syntax. It's not pretty but it was my first script and most importantly it worked :-) -----<start>----- #!/bin/sh #Useage: fod [source] [target] case $# in 0) echo "Need source and target directories" echo "nothing to do, exiting" ;; 1) echo "No target directory specified, exiting" ;; 2) SOURCE=$1 TARGET=$2 echo "Copying contents of "$SOURCE" to "#TARGET (cd $SOURCE && tar cf - . ) | (cd $TARGET && tar xvfp -) ;; esac -----<end>----- Tim -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
participants (1)
-
tduggan@dekaresearch.com