linux backup folder tool code example
Example: linux backup folder
cp -rp /path/to/folder-name /path/to/new-folder-bak
//The option -rp means copy recursive and preserve permissions.
cp -rp /path/to/folder-name /path/to/new-folder-bak
//The option -rp means copy recursive and preserve permissions.