Rename collection of selected files...deleted all but one!

“change the file extension for the selected files from .jpg to .jpeg” and Confirm moved all files to the trash and left a single file with the correct new file extension.

The command it suggested (and which I Confirmed) was:

for FILE_NAME in $SPACE_SEPARATED_FILE_NAMES; do mv "$FILE_NAME" "${FILE_BASENAME}.jpeg"; done

…which looks like it should have worked.

I now have 779 image files in the trash (including the correctly renamed one) - all with the old .jpg extension - and a single lonely correctly named file in the original folder.

I’m thinking this might be a bug…

Please authenticate to join the conversation.

Upvoters
Status

In Review

Board
💡

Feature Request

Date

3 months ago

Author

Julian Daniel

Subscribe to post

Get notified by email when there are changes.