Quantcast
Channel: macOS
Viewing all articles
Browse latest Browse all 7594

Batch truncating file names

$
0
0
I am trying to rename a folder full of files (over 300 files) with names in the format:

YYYYMMDD-something-descriptive-goes-here.mp3

to

YYYYMMDD.mp3

All of the batch utilities that I've seen can add text or replace text, but so far I have not found one that will truncate text to a specific length. The ones that do remove text will only remove a set number of characters from either end of the file (beginning or end). In my case, these file names are variable in length, so they don't...

Batch truncating file names

Viewing all articles
Browse latest Browse all 7594

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>