PDA

View Full Version : a pretty basic question



Somiac
March 13th, 2009, 02:46 AM
I couldn't find this, but lets say I have like 100 images on my desktop,
starting with SSL in it's name, most of them are like SSL262374.jpg and such.

If I want to use a command in the console, what would be best to move ALL of them to a different folder?

Now I don't want to say all files ending in .JPG because theres some other images from a different memory card that I want to keep there?

thesavager
March 13th, 2009, 03:43 AM
You can do something like this:


mv SSL*.jpg /home/tmp

the above code , moves all files starting with SSL to the /home/tmp map, the joker * character, substitudes the numbers behind SSL, and they are jpg.

cheers..