I just accidentally cp'ed a load of files into /usr/ and need a script that will read the original directory and remove those files from the corresponding locations in /usr/
For instance hello/ contains the files 1 and 2. I used:
sudo cp -r hello/ /usr/
/usr/ now contains 1 and 2.
I need a bash script that will read the contents of hello/ recursively and delete them in /usr/
Bookmarks