소스 검색

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