Thanks for the help, but on my system it is no-go. This episode has turned from a timesaver to a challenge, but at least I'll know a little about bash when I've finished.
I have uploaded all files connected with what I did to:
http://www.mediafire.com/?nn2i2iwjijz
Anyone interested in helping out may have to download a zip folder available at the link.
This is what I did:
1. I went to
http://pastebin.com/xGGGhzZ9, clicked in the second listing, selected all, and copied.
2. I opened a new iText Express document, pasted text, converted to plain text, and saved as
BashTest on Desktop.
3. Duplicated
BashTest to keep the original intact. Renamed the original +BashTest (original)+. Renamed +BashTest copy+ (the duplicate) to
BashTest – the one I am going to test.
4. I made a test folder called
Duplicates with a text file inside called "A"; and I created two more folders alongside "A": one called +A (changed)+ that has an altered version of "A" inside; and one called +A (identical)+ that has "A" inside.
5. I duplicated the entire folder and got a new folder called +Duplicates copy+, the one I was about to do the tests on.
6. The Terminal window was already full of stuff, so I selected "New Shell".
7. In Terminal I typed: "chmod +x " (including the space) and then dragged
BashTest from the Desktop into the Terminal window (to make sure I had the correct file path), and then pressed Return.
8. I again dragged
BashTest from the Desktop to the Terminal window, typed one space, then dragged the folder +Duplicates copy+ to the Terminal window, then pressed Return.
9. I checked the Trash. One copy of "A" appeared in the trash.
10. I checked +Duplicates copy+. Both identical copies of "A" were gone which is not what should happen.
QUES: Where did I go wrong?
*Terminal Listing*
Last login: Thu May 20 10:52:44 on ttyp1
Welcome to Darwin!
jenny-pearces-imac-g5:~ Jenny$ chmod +x /Users/Jenny/Desktop/BashTest.txt
jenny-pearces-imac-g5:~ Jenny$ /Users/Jenny/Desktop/BashTest.txt /Users/Jenny/Desktop/Duplicates\ copy/
/Users/Jenny/Desktop/BashTest.txt: line 1: md5sum: command not found
cat: /Users/Jenny/Desktop/Duplicates copy//A (changed)/A.rtf: Bad file descriptor
/Users/Jenny/Desktop/BashTest.txt: line 1: md5sum: command not found
/Users/Jenny/Desktop/BashTest.txt: line 1: md5sum: command not found
jenny-pearces-imac-g5:~ Jenny$