Преглед на файлове

-p preserve file attributes

Paul Klumpp преди 12 години
родител
ревизия
5b81cfbebe
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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