ソースを参照

Keep meta-data while copy-pasting files with xpst()

Alois Mahdal 1 ヶ月 前
コミット
5b857e64c1
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  1. 1
    1
      dotfiles/config/bashum/main.bashrc

+ 1
- 1
dotfiles/config/bashum/main.bashrc ファイルの表示

@@ -650,7 +650,7 @@ xpst() {
650 650
                 echo "does not exist: $path"
651 651
                 continue
652 652
             }
653
-            cp -r "$path" .
653
+            cp -ar "$path" .
654 654
         done
655 655
 }
656 656