search for: josephj

Displaying 19 results from an estimated 19 matches for "josephj".

Did you mean: joseph
2015 Aug 17
1
Error with paths with ()'s
On Aug 17, 2015, at 3:06 PM, Joe <josephj at main.nc.us> wrote: > First, let me state the obvious. It looks like your code is executing rsync in a bash one liner once for each file that find returns. That's not cool! And it's almost definitely not what you wanted to do. It is perfect;y acceptable and definitely ‘cool’. This...
2015 Jun 08
1
Question on folder sync with "directory name translation"
...t; But I could make some symlinks in the local system (archlinux) and user > exclude filters to remove the directories I don't want to synchronize. > But still there is no way of doing this with rsync options alone? *_______________Gionata Boccalini* 2015-06-07 19:28 GMT+02:00 Joe <josephj at main.nc.us>: > I'm sure one of the experts will have a better answer, but two things come > to mind as options to explore: > 1) Use --fuzzy twice so files which are the same but possibly with > different names and locations are synced > 2) Use some sort of symlinks on the...
2017 Feb 23
2
which rsync command?
I'm probably missing something, but it looks like your first requirement rules out using --delete, but your third requirement seems to imply the need for it because you want the source and target to be identical - and it won't be if there are any files on the target which are not on the source. If this is the case, then you may have to use more than pass - the first at the top-level
2017 Feb 23
0
which rsync command?
...ctories in TARGET/ that should not be deleted or changed, and put these into a file “somewhere". Then I could give an rsync command with the option —delete, but how do I protect the entries in my “somewhere” file from deletion? thanks for any help David > On 23 Feb 2017, at 01:25, Joe <josephj at main.nc.us> wrote: > > I'm probably missing something, but it looks like your first requirement rules out using --delete, > but your third requirement seems to imply the need for it because you want the source and target to be identical - and it won't be if there are any fil...
2015 Jun 07
3
Question on folder sync with "directory name translation"
Hello everyone, I'm new to this mailing list but I have been using rsync for some years up to now. I'm trying to synchronize two directory trees, but I want a special behavior that I didn't find on the net nor in the manual (or maybe there is a combination of options to get what I want but I couldn't find it). Tree A is like: A * * FolderA * * And tree B (on a remote
2017 Feb 23
2
which rsync command?
...should not be deleted or changed, and put these into a file “somewhere". Then I could give an rsync command with the option —delete, but how do I protect the entries in my “somewhere” file from deletion? > > thanks for any help > David > >> On 23 Feb 2017, at 01:25, Joe <josephj at main.nc.us> wrote: >> >> I'm probably missing something, but it looks like your first requirement rules out using --delete, >> but your third requirement seems to imply the need for it because you want the source and target to be identical - and it won't be if there...
2015 Aug 17
7
Error with paths with ()'s
I was trying to process a bunch of folders to sync them to another drive and ran across an error I haven’t seen before. Normally I do this sync via a mounted file system, but this time I tried to do it over ssh: find . -type f -atime -1 -exec rsync -aP {} 10.0.0.11:/Volumes/Drive5/{} \; bash: -c: line 0: syntax error near unexpected token `(' bash: -c: line 0: `rsync --server -logDtpre.iLsfx
2013 Jan 24
2
rsync parameters errors
In my new bash script, I'm doing what I think is a very simple rsync command the way I'm used to doing it. I just do a lot of setup and checking before I get to it. When I run it, it gets very unhappy with me. It's probably something very simple. I need to build the rsync command in a string so that some things can go away - like if my variables DRY_RUN and DELETE are undefined,
2015 Jan 22
0
[Bug 11067] New: add --min-depth and --max-depth options
Maybe a bit off topic. (I don't deal with any data even remotely that large.) How would you use these new options - just as a way to break large tasks into smaller "batches"? If rsync "stops in the middle", then the target would be in a sort of limbo where it might not be fully usable. Joe On 01/22/2015 09:38 AM, samba-bugs at samba.org wrote: >
2015 Jun 07
0
Question on folder sync with "directory name translation"
I'm sure one of the experts will have a better answer, but two things come to mind as options to explore: 1) Use --fuzzy twice so files which are the same but possibly with different names and locations are synced 2) Use some sort of symlinks on the destination so the names actually match (these could be added and removed right before and after the rsync respectively if you don't want
2015 Aug 17
0
Error with paths with ()'s
I haven't used rsync with networks, but I do use bash a lot. First, let me state the obvious. It looks like your code is executing rsync in a bash one liner once for each file that find returns. That's not cool! And it's almost definitely not what you wanted to do. Among other things, that means that bash is seeing all those embedded blanks and the parentheses in your file names
2015 Oct 11
0
rsync always try change owner and group of symlink in --fake-super mode
ln -s real-file symlink file.itself is ./rsync.symlinks/file.itself, but you are trying to link ./file.itself (which presumably doesn't exist) to the real file. Since a symlink is just a pointer, it gets created, but doesn't point to any real file. Try: ln -s rsync.symlinks/file.itself . Joe On 10/11/2015 06:17 AM, Pavel Alexeev wrote: > Hi all. > > I long time discover
2015 Oct 23
0
What does the group "DEFAULT"?
Looking at man rsyncd.conf, it appears that there should be no white space between the percent (%) sign and the format specifiers. Joe On 10/23/2015 01:43 PM, Дугин Сергей wrote: > Hello. > > option %G > > --log-file-format = "|% i |% B |% U |% G |% l | [% M] |% n" > > > What does the group "DEFAULT"? > Why is not shown, instead of
2019 Apr 17
0
[Bug 13901] New: Empty quotes adds cwd to SRC directories
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 AM, just subscribed for rsync-qa from bugzilla via rsync wrote: >
2019 Jul 12
0
rsync many processes and slow backup
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 1am at night it takes 7?- 9?hours and I see up to > 180?processes. When I look
2014 Nov 16
1
Using --fuzzy
I have a lot of files (and directories) (up to a few hundred at a time) that I get from various sources. Some time after I get them (after they are already backed up), I often have to move them around and normalize their names. When I do this, rsync sees them as unrelated to the copies of these files which are already on the backup destination. When I can't use the --delete option for various
2019 Oct 30
0
Seemingly impossible bug: -v not always listing every copied file
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 a newline). It's probably smart enough to handle it, but if it isn't, the current
2012 Nov 05
2
Invoking rsync from a script with null parameters
I'm working on a bash backup script using rsync. (kubuntu precise 12.04, rsync 3.0.9-1ubuntu1) To avoid having a number of slightly different rsync commands, I would like to use shell variables as part of the rsync command. I.e.: DRYRUN="-n" rsync "${DRYRUN}" more parameters ... This does not work if DRYRUN="" - apparently because this command becomes rsync
2013 Jan 22
2
Is there a howto/tutorial on backups/rsync that covers the use of hard and soft links?
There have been a lot of posts on the list lately about issues with hard links. It has been very interesting, but I don't understand it very thoroughly. I haven't used hard links for anything yet. I've used symlinks - not for backups, of course - and have seen them get broken or deleted in backups. Is there a tutorial anywhere that will explain how this works (assuming that the