Last active
June 23, 2022 04:59
-
-
Save denzuko/e49056ecda9dd44d0f5bdad4bb9158bf to your computer and use it in GitHub Desktop.
Code for reddit.com/r/commandline/comments/vhz42v/remove_a_string_from_file_names_recursively/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SRC := $(wildcard *.m4a.mp3) | |
TARGET := $(subst mpa.mp3,mp3,$(SRC)) | |
%.mp3: %.m4a.mp3: | |
@mv "$@" "$<" | |
all: $(TARGET) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment