Recent Changes - Search:

Softwares

.

Simple-script-to-backup-file

Main.Simple-script-to-backup-file History

Hide minor edits - Show changes to output

Added lines 1-4:
%blue%A simple loop to make a backup copy of all the files in a directory would look like this:

$ for file in * ; do cp $file $file.bak; done
Edit - History - Print - Recent Changes - Search
Page last modified on September 19, 2007, at 11:12 PM