Re: config

2021-06-25 Thread Joe via rsync
Part of the genius of Linux is the concept that each tool should do one thing well and with pipes it is extremely easy to chain these tools together in combinations unique to the current requirements of any task. I can't speak for the rsync developers, but I don't believe they would be open to add

Re: config

2021-06-25 Thread Joe via rsync
Once you have the closest superset of what you want to see in your rsync output, run the result through a filter to clean it up before sending it. sed and awk are great for this, but any language/script you are familiar with will do. Having regexes for the pattern matching will make the job easier

Back-up differences. Raspberry Pi and Fedora

2020-09-29 Thread joe--- via rsync
I am using the 'backup to a central backup server with 7 day incremental' example to archive three separate computers to identically configured (apart from name) shares on a Western Digital 'MyBookLive' NAS which has rsync enabled. The backup from two Raspberry Pi Computers operates without a p

Re: Syncing from two sources to one target and deleting files not in either source

2020-07-21 Thread Joe via rsync
If there isn't a huge list of files, you could use a bash script: use ls or find to create a list of files on server 1 followed by a list of files on server 2 run it through sort -u to eliminate duplicates use ls or find to make a list of files on server 3 use diff to get lines only in server 3 (s

Re: Seemingly impossible bug: -v not always listing every copied file

2019-10-30 Thread Joe via rsync
If you are doing a small test run that duplicates the problem, you could use inotifywait or tail -f to watch the log in real time on another terminal. Maybe you'd see something like a line being overwritten, etc. I don't know what rsync would do with a file name that ends in a carriage return (not

Re: rsync many processes and slow backup

2019-07-12 Thread Joe via rsync
On 7/12/19 4:56 AM, Hannes Hutmacher via rsync wrote: > Hi all! :-) >   > I have a small rsync script to sync my data to a usb-disk. It works > fine, when I start it in console. I get 3 rsync processes (look in > top) and the backup takes ~25 min. But, when I add the script in > cron to start it at

Re: [Bug 13901] New: Empty quotes adds cwd to SRC directories

2019-04-17 Thread Joe via rsync
I brought this up on the list years ago and was told it's a feature, not a bug. Even if some other GNU or Linux commands have this "feature", it still violates the principle of least surprise. It's also pretty hard to discover because a null argument is literally invisible. Joe On 4/17/19 9:54

Re: [Bug 13735] Synchronize files when the sending side has newer change times while modification times and sizes are identical on both sides

2019-01-22 Thread Joe via rsync
While a solution using rsync would be ideal, if you don't have a huge number of files  or lots of huge files which meet this special case, it probably wouldn't be prohibitively difficult to write your own special case script. It could be set to ignore all files that rsync will handle normally (but

Re: rsync time machine backup permissions

2018-03-19 Thread Joe via rsync
I'm not sure if this might be an issue here. Since your variable isn't quoted, it might not be. But: When you run rsync as rsync $param1 ... and param1 is null, it may still be treated as the first argument to rsync - which may add the current directory to your sources or throw things off in