Browse Source

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

Alois Mahdal 9 months ago
parent
commit
5b857e64c1
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      dotfiles/config/bashum/main.bashrc

+ 1
- 1
dotfiles/config/bashum/main.bashrc View File

@@ -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