Sfoglia il codice sorgente

-p preserve file attributes

Paul Klumpp 12 anni fa
parent
commit
5b81cfbebe
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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