Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Apps and Programs
I need specific type of backup software
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Brown Study" data-source="post: 355204" data-attributes="member: 3889"><p>Here are two scripts that act in concert to your music files. You'll need three folders: Tin Pan Alley, Folder A and Folder B. If you change the folder names, don't forget to change them in both scripts.</p><p></p><p>The first script copies the files from a central-repository folder that I named Tin Pan Alley, to Folder A, then moves the files from Tin Pan Alley to Folder B. This central repository ensures that the files in Folder A are identical to those in Folder B, especially if you had changed the songs' names or edited the files some other way before dropping them into Tin Pan Alley.</p><p></p><p>Over some period of time you decide which files you want to discard, and remove these from Folder A.</p><p></p><p>You then click the second script that duplicates Folder A's remaining files to Folder B, replacing the duplicates in Folder B. Since the files in Folder A are duplicates of their counterparts in Folder B, nothing in Folder B is lost, and the files that you deleted in Folder A remain untouched in Folder B.</p><p></p><p>The second script, Music Two, could empty Folder A, rather than leave files in it, if you change the command to "move" from "duplicate."</p><p></p><p>I added labels to the files so you could check the files' movements, since the files are identical in every other way. If everything checks out, you can delete the label command lines in the script Music One. For what it's worth, I saved the scripts as applications.</p><p></p><p><strong>Script One:</strong></p><p></p><p>tell application "Finder"</p><p> duplicate every item of folder "Tin Pan Alley" of desktop to folder "Folder A" of desktop</p><p> set label index of every item of folder "Folder A" of desktop to 1</p><p> move every item of folder "Tin Pan Alley" of desktop to folder "Folder B" of desktop</p><p> set label index of every item of folder "Folder B" of desktop to 2</p><p> end tell</p><p></p><p><strong>Script Two:</strong></p><p></p><p>tell application "Finder"</p><p> duplicate every item of folder "Folder A" of desktop to folder "Folder B" of desktop with replacing</p><p>end tell</p><p></p><p>You'll have to change the pathways, of course. They'd probably look something like:</p><p></p><p>duplicate every item of folder "Tin Pan Alley" of desktop to folder "Folder A" of folder "benijuana" of folder "Users" of startup disk</p><p>move every item of folder "Tin Pan Alley" of desktop to folder "Folder B" of disk "LaCie"</p></blockquote><p></p>
[QUOTE="Brown Study, post: 355204, member: 3889"] Here are two scripts that act in concert to your music files. You'll need three folders: Tin Pan Alley, Folder A and Folder B. If you change the folder names, don't forget to change them in both scripts. The first script copies the files from a central-repository folder that I named Tin Pan Alley, to Folder A, then moves the files from Tin Pan Alley to Folder B. This central repository ensures that the files in Folder A are identical to those in Folder B, especially if you had changed the songs' names or edited the files some other way before dropping them into Tin Pan Alley. Over some period of time you decide which files you want to discard, and remove these from Folder A. You then click the second script that duplicates Folder A's remaining files to Folder B, replacing the duplicates in Folder B. Since the files in Folder A are duplicates of their counterparts in Folder B, nothing in Folder B is lost, and the files that you deleted in Folder A remain untouched in Folder B. The second script, Music Two, could empty Folder A, rather than leave files in it, if you change the command to "move" from "duplicate." I added labels to the files so you could check the files' movements, since the files are identical in every other way. If everything checks out, you can delete the label command lines in the script Music One. For what it's worth, I saved the scripts as applications. [b]Script One:[/b] tell application "Finder" duplicate every item of folder "Tin Pan Alley" of desktop to folder "Folder A" of desktop set label index of every item of folder "Folder A" of desktop to 1 move every item of folder "Tin Pan Alley" of desktop to folder "Folder B" of desktop set label index of every item of folder "Folder B" of desktop to 2 end tell [b]Script Two:[/b] tell application "Finder" duplicate every item of folder "Folder A" of desktop to folder "Folder B" of desktop with replacing end tell You'll have to change the pathways, of course. They'd probably look something like: duplicate every item of folder "Tin Pan Alley" of desktop to folder "Folder A" of folder "benijuana" of folder "Users" of startup disk move every item of folder "Tin Pan Alley" of desktop to folder "Folder B" of disk "LaCie" [/QUOTE]
Verification
Name this item. 🍎
Post reply
Forums
Apple Computing Products:
macOS - Apps and Programs
I need specific type of backup software
Top