Re: mv * small_*
Kelwin Wylie <[email protected]>
| Newsgroups | gmane.user-groups.linux.ottawa.general |
|---|---|
| Message-ID | <[email protected]> |
To rename the files, assuming they are all in one directory and that you are using bash: 1. cd to the directory 2. execute the following: for FILE in *; do mv $FILE small_$FILE; done Kelwin On 05/28/2010 03:56 PM, James wrote: > I want to prepend 'small_' to a bunch of files and then resize them > with image magic. > Does anyone know how to do regex with mv? -- Kelwin Wylie -- OCLUG general discussion list [email protected] http://oclug.on.ca/mailman/listinfo/oclug