linux !#bin/bash
Backup Files Write a bash script to backup files. The script can take 0, 1 or 2 arguments. When there are 0 or more than 2 arguments, the script should print out the usage of the program on the screen. When there is 1 argument, the program should take the argument as source directory and backup all the files (not include directories) in the source directory. If the source directory does not exist, the program should print out the error message and the usage of the program on the screen. If the source directory exist, create a subdirectory inside source directory named ”backup-yyyy-mm-dd” and copy all the files in source
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here