|
|
Fedora
Backing up a few files in one directory, or a group of files in two or three directories can be done
manually with no issue. When an administrator needs to backup groups of files in multiple nested
directories, the bash shell's scripting capabilities come in handy. Below is a script which recursively
checks a given home or root directory for files, adds their name to a list, and does the same for any
directory it may find along the way. The list can then be used to copy the files to a given location,
for the 'tar' command to create an archive.
The necessity occasionally arises for files with the same extension in multiple nested directories
to have their extension names changed. For this, I also have a tool,
click here.
|
|