Post #3986040
2026-07-21 12:45 UTC
Are you maybe looking for mmv (multimove)?
It’s hard to tell what you actually want to do.
But you should not need to use grep to finde specific files. Just bash’s own abilities should be enough.
For example */*a* would go into every directory and look for files with “a” in them.
For more complex operations find can also be used.
Replies (1)
-
@sinextitan@lemmy.world 2026-07-21 13:24
basically I’m mirroring my music library to my new phn and Android shits itself when it encounters ?,*," in filenames. I used to manually remove them but today I decided to actually learn how to automate.