红联Linux门户
Linux帮助

Bash: a one-time copy the entire folder

发布时间:2008-08-30 16:30:52来源:红联作者:DsylRDH
To copy an entire folder (directory tree) in Linux, use the following method:

mkdir target_directory
cd source_directory
cp -ap . target_directory

Other options:
cp -apv . target_directory (for verbose results)
\cp -ap . target_directory (for unix)
文章评论

共有 0 条评论