Post #3986929
2026-07-21 13:32 UTC
find dir1 – find something within directory “dir1”
-type f – specifies that what you are looking fir is a file
-name ‘crunk’ – the file name is ‘crunk’
-exec bash -c – for the results, execute bash command
The command executed is move (mv)
‘mv “$0” “${0/crunk/chunk}”’ {} ; – move from crunk to chunk
Replies (1)
-
@sinextitan@lemmy.world 2026-07-21 14:03
thank you very much