Skip to content

How to change case of multiple directories recursively #1338

Answered by tmccombs
blueray453 asked this question in Q&A
Discussion options

You must be logged in to vote

I don't think you can do a bulk mv like that. You'll probably need to use -x instead. And you'll need to invoke a shell in order to call a nested command.

Something like:

fd --type d -x  bash -c 'mv {} $(ccase -t Kebab {})'

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@blueray453
Comment options

Answer selected by blueray453
Comment options

You must be logged in to vote
1 reply
@blueray453
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants