minus-squareSkadabucci@beehaw.orgtoFree and Open Source Software@beehaw.org•Looking for a bulk episode renaming application for LinuxlinkfedilinkEnglisharrow-up7·1 year agoAre these files that need renaming? You could open the terminal cd to the directory. for filename in $(ls *.mp4); do if [[ "$filename" =~ some_file_match*.mp4 ]]; then modified_filename= cp $filename $modified_filename && rm $filename -f fi done linkfedilink
Are these files that need renaming? You could open the terminal cd to the directory.
for filename in $(ls *.mp4); do if [[ "$filename" =~ some_file_match*.mp4 ]]; then modified_filename= cp $filename $modified_filename && rm $filename -f fi done