We had a bit of a screwup at work last week (yes, I'll take the blame!) where a large number of files and directories were deleted from dropbox. There was no back up (except my own files, because I ALWAYS backup MY data, sorry, it's been a rough week
Anyway as it turns out the files weren't completely deleted, they survived in .dropbox.cache but all have been renamed. An example is like this:
Ashley Barnes (deleted 4fa2da8b-69620-cc228a29).pdf
What I would like to do is simply have a script go through and remove the (*) portion of the filename as well as the space that precedes the leading parentheses. I'm sure this is relatively simple for someone that knows what they are doing, but I have never really mastered sed or awk or whatever tools it is that is going to fix this.
Help is much appreciated.