How to force move file, skip if can't be moved?


Recommended Posts

One of my HDD's is failing and I have been trying to move files from it to another external HDD. The issue is, I'll select say 50 files, and leave my computer but come back to an error and see either a few files or none were able to be copied over.

 

I believe there is a command to force move files, and if they can't then it gets skipped. Does anyone know it?

 

Edit: Found out I can use the rsync command or Carbon Copy Cloner, so I'm trying the program out first.

Edited by Dinggus
  On 15/06/2016 at 19:41, Dinggus said:

Powershell, you mean Terminal?

Expand  

oh freak...sorry!  I just saw this in the Community Activity and didn't notice it was for Apple...so I responded with the Windows answer.  Sorry!!!

  On 15/06/2016 at 19:43, jjkusaf said:

oh freak...sorry!  I just saw this in the Community Activity and didn't notice it was for Apple...so I responded with the Windows answer.  Sorry!!!

Expand  

Lol, all good. I was trying the commands in Terminal anyways.

Sorry (not that familiar with Apple)...you may find your answer here...unless someone else gives you a suitable answer.

http://hints.macworld.com/article.php?story=20100212171620210

 

Apple has rsync right?  I use it on my FreeNAS (FreeBSD at the core) to mirror my two Volumes.  Basically...what this will do is everything on the source is mirrored onto the destination...anything on the destination that isn't on the source will be deleted.  You shouldn't receive any prompts (I guess...once again I'm not familiar with Apple).

 

My particular rsync command is.....

 

rsync -av --delete /mnt/LargeMedia/ /mnt/BackupMedia/

 

-a archive

-v verbose

--delete - deletes files on the destination that aren't on the source

 

This line is similar but gives me a log file which I can go back and look at later.

 

rsync -av --delete --log-file=/mnt/LargeMedia/zLog/transfer.log /mnt/LargeMedia/ /mnt/BackupMedia/  

 

Full rsync documentation can be found here...

https://www.samba.org/ftp/rsync/rsync.html

 

Might be an option.  Sorry again for jumping in here so quick without realizing it was for Apple. :)

 

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • I really do like the design of the iPhone 16 Pro Max. It is quite nice.
    • If the entire industry adhered to fundamental principles of Microsoft's Next-Generation Secure Computing Base (NGSCB), there might not have been a basis of the existence of this article.
    • Ashes of the Singularity II announced promising even larger battles, new faction, and more by Pulasthi Ariyasinghe A sequel for the 2016-released Ashes of the Singularity has officially been confirmed, and the original developer and publisher duo, Oxide Games and Stardock Entertainment, are back for this release too. Check out the debut trailer above. Ashes of the Singularity II is under development with a significantly expanded team compared to the original, according to today's announcement. It will be adding in a range of fresh units and gameplay systems for real-time strategy fans to dive into. More options for strategic gameplay, more intricate base building, and better enemy AI are listed as features for the new game as well. "Ten years ago, we set a new, literal benchmark for RTS games with massive battles and groundbreaking technology," said Brad Wardell, CEO of Stardock Entertainment. "With Ashes of the Singularity II, we’re raising the bar even higher, delivering strategic gameplay depth that RTS fans have always dreamed of.” The storyline of Ashes of the Singularity II will take place in 2031, with a complete single-player campaign, as well as cooperative and competitive multiplayer modes, being confirmed as features today. Moreover, a third faction is joining the fray this time, with Humans joining the fight alongside the original games' Post-Human Coalition and the Substrate. "Obviously, in the first game, the number one request was to have a human faction," adds Wardell. “Back then, we just couldn’t support having thousands of organic, walking, squishy people in the world and thus had to design in favor of machines. We’re really excited to bring the humans into the war and watch how they fare against the massive mechanical armies of the Substrate and PHC.” Ashes of the Singularity II is targeting a broad 2026 release window, with the team hoping to launch the title as the original celebrates its 10th anniversary. Its Steam store page is already up for wishlisting over here. Disclaimer: Neowin's relationship to Stardock
    • How exactly is a FREE image generation model a... Ponzi scheme?!?! I don't love all of these Gen-AI things flooding the market but there's nothing "ponzi" about it.
  • Recent Achievements

    • One Month Later
      SamZrize earned a badge
      One Month Later
    • Week One Done
      SamZrize earned a badge
      Week One Done
    • One Year In
      SamZrize earned a badge
      One Year In
    • One Year In
      barracuda earned a badge
      One Year In
    • One Month Later
      barracuda earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      725
    2. 2
      +FloatingFatMan
      189
    3. 3
      ATLien_0
      180
    4. 4
      Xenon
      113
    5. 5
      neufuse
      109
  • Tell a friend

    Love Neowin? Tell a friend!