462987 Very Simple Shell Script -- Put .jpg Extension on All Files

I have a folder with 400,000 images in it. Due to a programming error by a different programmer, many of these files now have names like image1._1.jpg.jpg.jpg.jpg. Some images have one extra .jpg, some images have 8 or more extra .jpg extensions. I need a .sh script that will make all files in the directory have a .jpg file extension.

So it would...

Change 123456._1 to [url removed, login to view]

Leave [url removed, login to view] as is.

Change [url removed, login to view] to [url removed, login to view]

Change [url removed, login to view] to [url removed, login to view]

I think that should give you a good enough idea of what I need.

One other final point. Let's say we have the following two files in the folder...


[url removed, login to view]

Then we want 123456._1 to become the new [url removed, login to view] and *overwrite* the old 123456._1.jpg.

I'm pretty sure this should be extremely easy for someone who knows what they are doing. I will put the money in escrow when the project begins. You send me the script and I will test it -- I want to run the script so I can look at it before it is executed, so I don't end up with further problems. I expect that this should be delivered rather quickly but for sure within 24 hours of me selecting you as the winning bidder.

Taidot: kaikki käy, PHP, Shell Script

Näytä lisää: simple programming problems, programming error, money put in escrow, i have a good idea i need a programmer, as 400 programming, shell script extension, php end script, shell script or, put money in escrow, t sh, shell script, sh, shell programmer, php escrow script, give idea final project, extremely easy money, shell folder extension, jpg file, easy shell script, simple shell script, change folder shell script, shell extension programming, escrow extension, folder shell extension, simple images test

Tietoa työnantajasta:
( 12 arvostelua ) Minneapolis, United States

Projektin tunnus: #2208882

Myönnetty käyttäjälle:


Hi, i have the job done, please check PMB.

$10 USD 0 päivässä
(0 Arvostelua)