use following command to copy folder and subfolder. this command will also preserve timestmep.
$cp -Rp /source-folder /destination-folder
to tar and gunzip
$tar czvf filename /destination-folderpath
command to make folder and subfolder
$mkdir -p folder1/folder2/folder3
to delete folder and subfolder
$rm -rf folder1
No comments:
Post a Comment