Whole folder disappeared after running a rename command
1
vote
1
answer
577
views
Using 'rename' from brew to look for special characters in file names and replace them with another character so we can upload to OneDrive.
I've ran this on other macs without issue. However, an entire work folder has vanished.
This was the command which appears to have done it.
find . -exec rename -s '/' '_' {} +
The folder is not in trash.
ls
shows the folder is empty. Is it possible to recover this?
Asked by HippoDuck
(361 rep)
Aug 3, 2021, 09:06 AM
Last activity: Aug 3, 2021, 10:38 PM
Last activity: Aug 3, 2021, 10:38 PM