Bash: for loop, copy, backup
- by sixtyfootersdude
Hey, not 100% sure what this error means.
% for f in "*" ; do cp $f ../backup/backup$f ; done
cp: ../backup/backup* not found
The purpose is to copy all the files into a folder into a backup folder and rename the files to backup.