mirror of
https://github.com/cheat/cheat.git
synced 2025-09-04 11:08:29 +02:00
Created cheatsheets for alias, cat, cp, export, kill, mv, pwd, and wc
This commit is contained in:
14
cheat/cheatsheets/cp
Normal file
14
cheat/cheatsheets/cp
Normal file
@ -0,0 +1,14 @@
|
||||
# cp - copy. Copies a file or directory
|
||||
cp [-a, -f, -H, -i, -L, -n, -p, -P, -R, -X] [-v] [source] [target]
|
||||
|
||||
-a : Same as -pPR
|
||||
-f : Force
|
||||
-H : Follow sym links
|
||||
-i : Prompt before overwrite
|
||||
-L : If -R, follow sym links
|
||||
-n : Do not overwrite
|
||||
-P : If -R, Do not follow sym links (Default)
|
||||
-p : Preserve meta data
|
||||
-R : Recursive (cp directories)
|
||||
-X : Do not copy extended attributes or resource forks
|
||||
-v : Verbose
|
Reference in New Issue
Block a user