i am trying to write a basic archiving (bash) script. following is the sequence (i final way i thought this might work.)
1. user gets asked what folder to archive
2. using find or someother cmd the script will search that folder name
3. if it finds that the folder is located in 2 or more different locations, the script will ask user which one to archive.
4. make a tar archive and give it the name of the folder.
i am not sure how to do step 2,3,4.