copy file using tar
We assume /source/dir is a filesystem, if there are other filesystems under /source/dir they
will also be copied to /destination/dir
cd /source/dir
tar -cf - . | ( cd /destination/dir ; tar -xpvf - )
We assume /source/dir is a filesystem, if there are other filesystems under /source/dir they
will also be copied to /destination/dir
cd /source/dir
tar -cf - . | ( cd /destination/dir ; tar -xpvf - )
暂无评论。
评论功能维护中,当前仅展示历史评论。