Sometimes it can be very useful to rename pictures in bulk, especially when they have so many. Certainly it would be unthinkable to do so one by one, and then if you wanted to rename them like 1.jpg, 2.jpg, 3.jpg, etc.. ETC. simply run this command:

ls-A | awk 'BEGIN (n = 1) (system ( "mv" $ 1 "" n ". jpg"); n = n +1)'

or install jhead not only that, but renaming them with a single command from the date and time that were made.

jhead-n% Y% m% d-% H% M% S *. jpg

For more info

jhead man

Surely there are other ways;)

If we wanted to create the images jpg a video, after you install mjpegtools and have renamed the images image000, image001, image002, etc.. ETC. you can use:

jpeg2yuv-b 1-f 25-I p-j image% 03d.jpg | mpeg2enc-o video.mpg

For more info

Man jpeg2yuv

Post similar (or almost):

  1. Four programs in mass rename all four Report this useful program to rename pictures in bulk, folders, mp3 ...
  2. Record streaming video with Linux Sometimes you see some video ...
  3. Convert audio-video for iPhone with Linux, having taken just a 3G iPhone can not ...
  4. Rename all files to lowercase to uppercase (or vice versa) This is a tip for those who want to rename block ...
  5. Convert video youtube in gif image is sometimes useful to convert a video ...

Tags:

One Response to "Rename jpg mass and convert video"

  1. EDMOND'S WEBLOG "Four programs to rename everything in bulk writes:

    [...] Unless you want to use something like that, are all four of [...]

  2. U.S. WordPress WordPress 2.6.2

Write a Comment

Optimized for Mozilla Firefox