Linux file copying and moving

Copy files and directories

 

 a directory is a need to increase the -r parameter

 

touch create the file. -v show copy process

 

 -p retain the original file's creation time and other information

 

 

 File movement

 

 *? Wildcards

 

ls / tmp / file * tmp folder listed in the beginning of the file to the file or folder

ls / tmp / file? Listed filea, fileb. . . fileab not listed

Guess you like

Origin www.cnblogs.com/Brake/p/12169094.html