How can I differentiate a jump drive folder from a HD folder of the same name?
I have a jump drive that I have partitioned into three "drives" with names that match corresponding folders on my hard drives. I use this jump drive on my MacBook to download and save files in various folders on these partitions. I do this so I can use the same scripts that normally run on my desktop machine.
I now need to write a script that will recognize the jump drive and all its files, and sync the various folders to ones on the desktop machine. This is so I can collect the data while I'm on vacation (using the MacBook) but can put the files back on the desktop machine as if I had been there all the time.
So, for example, I have a folder, named abc, on the hard drive HD1. I have a folder abc on jump drive partition HD1. I want to copy all files that exist in this folder from the jump drive to the corresponding folder on the HD.
My question: Is there a way to differentiate, in a script, a volume as a jump drive as opposed to being on the HD so I can create Finder copy statements for each file in each folder I need to sync?
Jim Brandt