Results 1 to 13 of 13
  1. #1
    Saving Simultaneously to Duplicate Files
    hughvane's Avatar
    Member Since
    May 18, 2008
    Location
    Amberley, Canterbury, New Zealand
    Posts
    3,337
    Your Mac's Specs
    MacMini 4.1, OS 10.11 and 10.6; Macbook Pro 8.2, OS 10.12, MacBook 4.1, OS 10.6.8
    Saving Simultaneously to Duplicate Files
    Macbook Pro, OS 10.13.6 and TextEdit

    A much-used flash drive died without warning. RIP. On it were all sorts, but of relevance to this inquiry were 3 or 4 TextEdit files that were duplicates of files on the MBk's desktop. The files on the flash drive were however more up-to-date, thus I have lost some important information.

    My question: is there a method to have MacOS save to duplicate files at the same time as an active/open file is updated/saved? Something like a command line that states "save to all files of this xxxxx name".
    ABCDEFGHIJKLMNOPQRSTUVWXYZ
    Please post your Mac (or other) specs and MacOS version in your post, your profile or your signature. It helps us to help you better.

    I'm leaving now to go and find myself. If I should return before I get back, please ask me to wait.

  2. #2
    Time Machine is an option to save everything on an hourly basis. However, I don't know of any other functionality that will make backups at a faster rate to a variety of locations to ensure a safe backup. The one option I would suggest is that you might want to use a cloud service for your files like iCloud Drive, Box, Dropbox and so on. Depending on storage needs, you could get away with the basic plans offered by many services.
    --
    Regards
    ...Ashwin


  3. #3
    Saving Simultaneously to Duplicate Files
    Slydude's Avatar
    Member Since
    Nov 16, 2009
    Location
    North Louisiana, USA
    Posts
    13,410
    Your Mac's Specs
    2.8 GHz 2008 MacBook Pro 10.11, 8 GB mem, iPhone XS, 2015 iMac 16 GB 10.14.1 beta
    Guys, just throwing an idea out there. I don't have time to test this at the moment and won't jave time before late Tursday/early Friday at the earliest.

    I wonder if a folder action would work. In short the process might go something like this:
    1. Create a folder somewhere convenient such as on the Desktop. Give it a name like "Work In Progress" or anything else memorable for that matter. This becomes the watch folder that causes the folder action to run.
    2. Attach an Automator workflow to the folder that runs when things are added to that folder. I've seen workflows that save when you drop a file into the folder but I am not sure the action would run if you simply save files to the watch folder.

    Building on the Dropbpx idea, is this what you had in mind Ashwin?

  4. #4
    An Automator script/trigger would definitely work if you are going to use local storage for your backup purposes. But if a cloud service is available, it would be just easier to create the folder/files directly on those shared folder and have their sync client do the work for you. Those sync clients essentially do what you are suggesting which is to watch a set of folders for changes and sync them on an ongoing basis.

    The only thing against the Cloud method would be if you are playing with many large files, then cost might become an issue.
    --
    Regards
    ...Ashwin


  5. #5
    Saving Simultaneously to Duplicate Files
    MacInWin's Avatar
    Member Since
    Jan 01, 2009
    Location
    Winchester, VA
    Posts
    4,556
    Your Mac's Specs
    MBP 15" Mid 2015, iPhone XS, an iMac, plus ATVs, AWatch, MacMini
    The challenge with all of the possible solutions is the slight delay between the original save and any automator/sync action. What the OP apparently wants is simultaneous saving to two files, which is not possible, AFAIK, except into a RAID array. If the delay is acceptable, then the easiest is to use something like Dropbox, or OneDrive, or even iCloud drive to sync the files. I suppose an automator file, as Sly suggested, could be created, but the advantage of the sync approach is that the copy is now off-site, with additional safety of not being even in the same building.

    As I said, a RAID array running RAID1 will save two copies, one on each drive. If the array fails, the working drive will have the files. At least that's how it's supposed to work.
    Jake

  6. #6
    Saving Simultaneously to Duplicate Files
    pm-r's Avatar
    Member Since
    Oct 16, 2010
    Location
    Brentwood Bay, BC, Canada
    Posts
    9,794
    My question: is there a method to have MacOS save to duplicate files at the same time as an active/open file is updated/saved? Something like a command line that states "save to all files of this xxxxx name".

    Why not create one folder on your Mac that's handy, and then create a alias in two or several other drives that would each contain a copy of the created and saved files?





    - Patrick
    ======

  7. #7
    Saving Simultaneously to Duplicate Files
    MacInWin's Avatar
    Member Since
    Jan 01, 2009
    Location
    Winchester, VA
    Posts
    4,556
    Your Mac's Specs
    MBP 15" Mid 2015, iPhone XS, an iMac, plus ATVs, AWatch, MacMini
    Patrick, how would the files get moved to those external drives? An alias on an external would only be a pointer to the internal drive copy. Lose the internal and the alias is useless.
    Jake

  8. #8
    Saving Simultaneously to Duplicate Files
    ferrarr's Avatar
    Member Since
    May 21, 2012
    Location
    Pawtucket, RI, US
    Posts
    4,945
    Your Mac's Specs
    L2014 Mac mini macOS Mojave, iPhone 8+ iOS 12, 12.9" iPad Pro 1 iOS 12, Pencil 1
    Quote Originally Posted by MacInWin View Post
    Patrick, how would the files get moved to those external drives? An alias on an external would only be a pointer to the internal drive copy. Lose the internal and the alias is useless.
    Would an alias, of the USB drive (or a folder on it), on the desktop make the copy to the USB drive happen?
    -- Bob --
    Please backup. Everything has a life cycle, unexpected and warning free. Nothing will last as long as you want it to.

  9. #9
    Saving Simultaneously to Duplicate Files
    toMACsh's Avatar
    Member Since
    Jul 30, 2009
    Location
    Wisconsin
    Posts
    6,578
    Your Mac's Specs
    Mac Mini (Late 2014) 2.6GHz Intel Core i5 Memory: 8GB 1600MHz DDR3
    The easiest solution is to develop good habits. I save all my often-used files on flash drive. If I edit one, my routine never varies: Save it, Close it, Copy it to the flash drive.

  10. #10
    Saving Simultaneously to Duplicate Files
    MacInWin's Avatar
    Member Since
    Jan 01, 2009
    Location
    Winchester, VA
    Posts
    4,556
    Your Mac's Specs
    MBP 15" Mid 2015, iPhone XS, an iMac, plus ATVs, AWatch, MacMini
    Quote Originally Posted by ferrarr View Post
    Would an alias, of the USB drive (or a folder on it), on the desktop make the copy to the USB drive happen?
    The challenge is that an alias is just a pointer to a file, not a copy of it. So if the file changes, as long as it's in the same place, the pointer will still point to it. But if that target disappears there is nothing in the alias about the file except where it is, not anything about what was IN that file. So no matter where the alias is, the data will never be there.
    Jake

  11. #11
    Alias is a red herring and isn't what you want. Either the Automator script or using cloud storage are the only really viable options.
    --
    Regards
    ...Ashwin


  12. #12
    Saving Simultaneously to Duplicate Files
    pm-r's Avatar
    Member Since
    Oct 16, 2010
    Location
    Brentwood Bay, BC, Canada
    Posts
    9,794
    Here's a old 2007 suggestion that should still work, albeit using a few more recent methods to create the same process:
    Is there a way for one Save action to save a file to two separate places?
    Saving can be twice as nice
    https://www.macworld.com/article/1058960/savetwice.html

    A few other hits and suggestions here:
    https://www.google.com/search?client...UTF-8&oe=UTF-8

    Actually, I like the comments of using good saving habits and I'm sure the SimpleKeys.app I've just recently started using could be used to create a single keyboard key combination when creating an Automator type script that it can use.
    Check it out here: https://www.pidog.com/SimpleKeys/

    PS: it's quite a slick little app and especially useful for entering often used text with a single fkey or keyboard key combinations. Sort of like the Keyboard pref pane Shortcuts on steroids.





    - Patrick
    ======

  13. #13
    Saving Simultaneously to Duplicate Files
    ferrarr's Avatar
    Member Since
    May 21, 2012
    Location
    Pawtucket, RI, US
    Posts
    4,945
    Your Mac's Specs
    L2014 Mac mini macOS Mojave, iPhone 8+ iOS 12, 12.9" iPad Pro 1 iOS 12, Pencil 1
    I was able to find this, https://freefilesync.org/. It may be able to do what hughvane wants.
    -- Bob --
    Please backup. Everything has a life cycle, unexpected and warning free. Nothing will last as long as you want it to.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Duplicate Files!
    By ADKhikerVW in forum macOS - Operating System
    Replies: 4
    Last Post: 01-06-2012, 09:33 AM
  2. Duplicate Files
    By PhotosbyJeni in forum Switcher Hangout
    Replies: 8
    Last Post: 03-14-2011, 10:33 AM
  3. Please help with duplicate files
    By PKT1889 in forum Music, Audio, and Podcasting
    Replies: 3
    Last Post: 12-26-2010, 09:08 AM
  4. Saving Files to PDF & Saving Files as Word Doc
    By hschaars in forum macOS - Apps and Games
    Replies: 11
    Last Post: 08-19-2010, 07:07 PM
  5. I think i have have duplicate files even though...
    By reno71883 in forum Apple Notebooks
    Replies: 1
    Last Post: 07-20-2008, 01:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •