Procházet zdrojové kódy

-p preserve file attributes

Paul Klumpp před 12 roky
rodič
revize
5b81cfbebe
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      mvd_transfer.sh

+ 1 - 1
mvd_transfer.sh

@@ -6,7 +6,7 @@ game="$2"
 _file="$game/demos/$mvd"
 
 if [ -f "$_file" ]; then
-	scp "$_file"  your_domain@here.com:/home/user/public_html/q2demos/   &
+	scp -p "$_file"  your_domain@here.com:/home/user/public_html/q2demos/   &
 else
 	echo "$0 Error: '$_file' not found. Not transferring anything. :("
 fi