Jud Posted June 30, 2014 Share Posted June 30, 2014 I want to rename all the .aif files on my external music storage HDD (nested 2 or 3 folders deep in some cases) to .aiff. Handy Terminal command? Thanks. One never knows, do one? - Fats Waller The fairest thing we can experience is the mysterious. It is the fundamental emotion which stands at the cradle of true art and true science. - Einstein Computer, Audirvana -> optical to EtherREGEN -> microRendu -> ISO Regen -> iFi NEO iDSD DAC -> Apollon Audio 1ET400A Mini (Purifi based) -> Vandersteen 3A Signature. Link to comment
wgscott Posted July 1, 2014 Share Posted July 1, 2014 If for some reason you don't already use zsh, you can start an instance of this by issuing the following command: /bin/zsh -l Now issue these two commands autoload -U zmv alias mmv='noglob zmv -W' I put those in my .zshrc file, so I never have to worry about it. Now you could do what you want in each directory individually with this syntax: mmv *.aif *.aiff But that would be tedious. Thanks to zsh, you can do this in one shot, using zsh's recursive globbing feature: cd to your top-level music directory that contains all the aif files. Now issue mmv **/*.aif **/*.aiff For more info: zsh on os x Link to comment
Jud Posted July 1, 2014 Author Share Posted July 1, 2014 If for some reason you don't already use zsh, you can start an instance of this by issuing the following command: /bin/zsh -l Now issue these two commands autoload -U zmv alias mmv='noglob zmv -W' I put those in my .zshrc file, so I never have to worry about it. Now you could do what you want in each directory individually with this syntax: mmv *.aif *.aiff But that would be tedious. Thanks to zsh, you can do this in one shot, using zsh's recursive globbing feature: cd to your top-level music directory that contains all the aif files. Now issue mmv **/*.aif **/*.aiff For more info: zsh on os x Thanks for the clear directions. Always liked zsh. When I worked with FreeBSD more often I'd usually replace the default shell with it. One never knows, do one? - Fats Waller The fairest thing we can experience is the mysterious. It is the fundamental emotion which stands at the cradle of true art and true science. - Einstein Computer, Audirvana -> optical to EtherREGEN -> microRendu -> ISO Regen -> iFi NEO iDSD DAC -> Apollon Audio 1ET400A Mini (Purifi based) -> Vandersteen 3A Signature. Link to comment
4est Posted July 2, 2014 Share Posted July 2, 2014 Jud: May I ask what for? I want to rename all the .aif files on my external music storage HDD (nested 2 or 3 folders deep in some cases) to .aiff. Handy Terminal command? Thanks. Forrest: Win10 i9 9900KS/GTX1060 HQPlayer4>Win10 NAA DSD>Pavel's DSC2.6>Bent Audio TAP> Parasound JC1>"Naked" Quad ESL63/Tannoy PS350B subs<100Hz Link to comment
Jud Posted July 2, 2014 Author Share Posted July 2, 2014 Jud: May I ask what for? I no longer have the specific potential problem that caused me to ask the question. But the answer is still useful when wanting to quickly make a particular change in X characteristic of all the files on a drive or in any upper level directory. One never knows, do one? - Fats Waller The fairest thing we can experience is the mysterious. It is the fundamental emotion which stands at the cradle of true art and true science. - Einstein Computer, Audirvana -> optical to EtherREGEN -> microRendu -> ISO Regen -> iFi NEO iDSD DAC -> Apollon Audio 1ET400A Mini (Purifi based) -> Vandersteen 3A Signature. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now