Re: [PLUG] How do we know who to trust?

2018-10-06 Thread Thomas Groman
On Thu, 4 Oct 2018 23:24:40 -0700 Keith Lofstrom wrote: Maybe we should all revert back to TTL Logic CPUs http://www.homebrewcpu.com/ In all seriousness though some simpler cleaner hardware would be nice. I'm looking forward to SiFive's RISCV machines. > On Thu, Oct 04, 2018 at 12:21:22PM

[PLUG] Rsync again

2018-10-06 Thread John Jason Jordan
Is there a way to stop an rsync command so that it gets to the end of the file it is writing before it stops, less you end up with a partially transferred file? ___ PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug

Re: [PLUG] Rsync again

2018-10-06 Thread John Jason Jordan
On Sat, 6 Oct 2018 10:17:05 -0700 John Jason Jordan dijo: I need some advice with respect to the following command, which makes my Synology NAS device a mirror of my external USB storage enclosure: rsync -rptog --progress --stats --delete

Re: [PLUG] Rsync again

2018-10-06 Thread Erik Lane
That would be nice to be able to stop it in that way. I'm not a Linux guru, so I'd also like to hear if there's some way to do that. However, I just wanted to say that I always use -P as one of the options, and this will resume partial downloads. So if you have to stop it and then resume later,

Re: [PLUG] Rsync again

2018-10-06 Thread Roderick Anderson
On 10/06/2018 02:50 PM, John Jason Jordan wrote: On Sat, 6 Oct 2018 12:23:04 -0700 Erik Lane dijo: That would be nice to be able to stop it in that way. I'm not a Linux guru, so I'd also like to hear if there's some way to do that. However, I just wanted to say that I always use -P as one

Re: [PLUG] Rsync again

2018-10-06 Thread John Jason Jordan
On Sat, 06 Oct 2018 13:08:21 -0700 Tomas K dijo: >Simple if statement in your backup script should take care of it. >You can do it number of ways - here is one - checking that there is any >content in the directory before starting rsync (in bash): > >#!/bin/bash

Re: [PLUG] Rsync again

2018-10-06 Thread Larry Brigman
I would add checking of the return code (exit code) for the 'cd' commands. As it is now those could fail but something latter would have to detect the failure. On Sat, Oct 6, 2018, 5:28 PM John Jason Jordan wrote: > On Sat, 06 Oct 2018 13:08:21 -0700 > Tomas K dijo: > > >Simple if statement in

Re: [PLUG] Rsync again

2018-10-06 Thread Tomas K
The answer is - Do not start rsync until your NAS is mounted and working. Simple if statement in your backup script should take care of it. You can do it number of ways - here is one - checking that there is any content in the directory before starting rsync (in bash): #!/bin/bash

Re: [PLUG] Rsync again

2018-10-06 Thread John Jason Jordan
On Sat, 6 Oct 2018 12:23:04 -0700 Erik Lane dijo: >That would be nice to be able to stop it in that way. I'm not a Linux >guru, so I'd also like to hear if there's some way to do that. > >However, I just wanted to say that I always use -P as one of the >options, and this will resume partial

[PLUG] USB ports failed

2018-10-06 Thread John Jason Jordan
I went to bed last night leaving Handbrake encoding a movie. It often takes three hours or more for it to complete, so I frequently let it run overnight. When I got up in the morning Handbrake had failed. A little checking revealed that the directory it was writing to (an external USB drive) was