New York Office
70-11 Austin Street, Suite 3L
Forest Hills, NY 11375
Tel : (866) 228-6286
Fax : (718) 897-9665
Florida Office
13899 Biscayne Blvd
Suite 211 Miami, FL 33181
Tel : (866) 228-6286
Fax : (718) 897-9665
Las Vegas Office
1810 E. Sahara Ave.
Las Vegas, NV 89104 suite #121
Tel : (866) 228-6286
Fax : (718) 897-9665

Reboot Computer Services inc. Solution Experts

  • Increase font size
  • Default font size
  • Decrease font size

Adding a Prefix to all files in a folder

In my sample folder I have 5 text files that I would like to add a prefix to the file name.
First you change directory to where my folder is located. In my example is a folder called "Folder" at the root of my hard drive.
Then I run a "For in" loop to read all file in the directory.
for FILE in * ; do mv $FILE Reboot_$FILE ; done

Here is our end result. You can modify the prefix to almost anything.