-
-
Save borntyping/10590469 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
❯ mkdir test | |
❯ touch test/{a,b,c} | |
❯ touch test/.{a,b,c} | |
❯ ls -la test/.* | |
-rw-r--r-- 1 sam sam 0 Apr 13 17:10 test/.a | |
-rw-r--r-- 1 sam sam 0 Apr 13 17:10 test/.b | |
-rw-r--r-- 1 sam sam 0 Apr 13 17:10 test/.c | |
❯ rm -v test/.* | |
removed `test/.a' | |
removed `test/.b' | |
removed `test/.c' | |
❯ mkdir test-2 | |
❯ touch test/.{a,b,c} | |
❯ cp -vrf test/.* test-2 | |
`test/.a' -> `test-2/.a' | |
`test/.b' -> `test-2/.b' | |
`test/.c' -> `test-2/.c' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment