search for: todir

Displaying 20 results from an estimated 24 matches for "todir".

Did you mean: topdir
2002 Aug 29
0
PATCH: Fix IRIX 6 testsuite failures
...========= RCS file: testsuite/RCS/chgrp.test,v retrieving revision 1.1 diff -up -r1.1 testsuite/chgrp.test --- testsuite/chgrp.test 2002/03/25 03:01:37 1.1 +++ testsuite/chgrp.test 2002/08/29 17:11:14 @@ -31,7 +31,7 @@ do done sleep 2 -checkit "rsync -rtgvvv \"$fromdir/\" \"$todir/\"" "$fromdir" "$todir" +checkit "$rsync_bin -rtgvvv \"$fromdir/\" \"$todir/\"" "$fromdir" "$todir" exit 0 # last [] may have failed but if we get here then we've won ============================================...
2002 Jun 15
0
[PATCH] make test patch.
...suite/chgrp.test rsync-2.5.5/testsuite/chgrp.test --- rsync-2.5.5.orig/testsuite/chgrp.test 2002-03-25 04:01:37.000000000 +0100 +++ rsync-2.5.5/testsuite/chgrp.test 2002-06-16 06:19:50.000000000 +0200 @@ -31,7 +31,7 @@ do done sleep 2 -checkit "rsync -rtgvvv \"$fromdir/\" \"$todir/\"" "$fromdir" "$todir" +checkit "$RSYNC -rtgvvv \"$fromdir/\" \"$todir/\"" "$fromdir" "$todir" exit 0 # last [] may have failed but if we get here then we've won diff -urNp rsync-2.5.5.orig/testsuite/devices.te...
2002 Oct 08
1
Some tests fail if rsync is not on path (with patch)
...NC in the two tests. With those changes, all tests pass. Context diffs follow: *** testsuite/chgrp.test.orig Tue Oct 8 11:16:33 2002 --- testsuite/chgrp.test Tue Oct 8 11:16:48 2002 *************** *** 31,37 **** done sleep 2 ! checkit "rsync -rtgvvv \"$fromdir/\" \"$todir/\"" "$fromdir" "$todir" exit 0 # last [] may have failed but if we get here then we've won --- 31,37 ---- done sleep 2 ! checkit "$RSYNC -rtgvvv \"$fromdir/\" \"$todir/\"" "$fromdir" "$todir" exit...
2016 Jan 16
0
[PATCH v2, resend] ignore-non-existing-directory: add variant of ignore-non-existing
...ex 0000000..971ee20 --- /dev/null +++ b/testsuite/ignore-non-existing-directory.test @@ -0,0 +1,47 @@ +#! /bin/sh + +# This program is distributable under the terms of the GNU GPL (see +# COPYING). + +. $suitedir/rsync.fns + +makepath "$fromdir/subdir1" "$fromdir/subdir2" "$todir/subdir1" +echo data >"$fromdir/subdir1/file" +echo data >"$todir/subdir1/file2" +echo data >"$fromdir/subdir2/file" + +# Test 1: Ensure subdir2 and content under it are not created +$RSYNC -r --ignore-non-existing-directory -vv "$fromdir/" &quot...
2015 Nov 28
0
[PATCH v2] ignore-non-existing-directory: add variant of ignore-non-existing
...ex 0000000..971ee20 --- /dev/null +++ b/testsuite/ignore-non-existing-directory.test @@ -0,0 +1,47 @@ +#! /bin/sh + +# This program is distributable under the terms of the GNU GPL (see +# COPYING). + +. $suitedir/rsync.fns + +makepath "$fromdir/subdir1" "$fromdir/subdir2" "$todir/subdir1" +echo data >"$fromdir/subdir1/file" +echo data >"$todir/subdir1/file2" +echo data >"$fromdir/subdir2/file" + +# Test 1: Ensure subdir2 and content under it are not created +$RSYNC -r --ignore-non-existing-directory -vv "$fromdir/" &quot...
2015 Nov 28
0
[PATCH] ignore-non-existing-directory: add variant of ignore-non-existing
...ex 0000000..06292d3 --- /dev/null +++ b/testsuite/ignore-non-existing-directory.test @@ -0,0 +1,26 @@ +#! /bin/sh + +# This program is distributable under the terms of the GNU GPL (see +# COPYING). + +. $suitedir/rsync.fns + +makepath "$fromdir/subdir1" "$fromdir/subdir2" "$todir/subdir1" +echo data >"$fromdir/subdir1/file" +echo data >"$fromdir/subdir2/file" + +# Test 1: Ensure subdir2 and content under it are not created +echo $RSYNC -ar --ignore-non-existing-directory -vvv "$fromdir/" "$todir/" +$RSYNC -ar --ignore-non-e...
2009 Apr 15
2
Using rsync for a backup program but having trouble getting --exclude-from to work properly
...nowhere with this issue and searching your site on '--exclude-from' got me to the same place. Here is the script I am using: #################################### #/bin/bash suffix=`date +%Y%m%d` echo Suffix is "$suffix" fromdir=/home/bob/ echo Source dir is "$fromdir" todir="$maxtor6"BackupOfHome excl="$fromdir".dobackup.excl echo Exclusions file is "$excl" echo Destination dir is "$todir" rsync --exclude-from="$excl" -a -b -vv --suffix="$suffix" $fromdir $todir exit 0 ######################## Here is the c...
2008 Mar 19
0
[PATCH] Unsnarl missing_below/dry_run logic.
...050b --- /dev/null +++ b/testsuite/missing.test @@ -0,0 +1,28 @@ +#! /bin/sh + +# This program is distributable under the terms of the GNU GPL (see +# COPYING). + +# Test three bugs fixed by my redoing of the missing_below logic. + +. $srcdir/testsuite/rsync.fns + +mkdir "$fromdir" "$todir" +mkdir "$fromdir/subdir" +echo data >"$fromdir/subdir/file" +echo data >"$todir/other" + +# Test 1: Too much "not creating new..." output on a dry run +$RSYNC -n -r --ignore-non-existing -vv "$fromdir/" "$todir/" | tee "$s...
2005 Jun 24
1
[PATCH] Fix itemize test for objdir != srcdir builds
.../config2" cp -p "$srcdir/rsync.h" "$fromdir/bar/baz/rsync" chmod 600 "$fromdir"/foo/config? "$fromdir/bar/baz/rsync" @@ -58,7 +58,7 @@ # Ensure there are no accidental directory-time problems. $RSYNC -a -f '-! */' "$fromdir/" "$todir" -cp -p "$srcdir/config.h" "$fromdir/foo/config2" +cp -p "$srcdir/configure.in" "$fromdir/foo/config2" chmod 601 "$fromdir/foo/config2" $RSYNC -iplrH "$fromdir/" "$todir/" \ | tee "$outfile" @@ -91,7 +91,7...
2008 Sep 03
1
DO NOT REPLY [Bug 5732] New: xattrs.test calls wrong rsync
...estsuite/xattrs.test | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/testsuite/xattrs.test b/testsuite/xattrs.test index 86758fa..8b40eec 100644 --- a/testsuite/xattrs.test +++ b/testsuite/xattrs.test @@ -116,10 +116,10 @@ fi cd "$fromdir" rm -rf "$todir" "$chkdir" -rsync -aX file1 file2 -rsync -aX file1 file2 ../chk/ -rsync -aX --del ../chk/ . -rsync -aX file1 ../lnk/ +$RSYNC -aX file1 file2 +$RSYNC -aX file1 file2 ../chk/ +$RSYNC -aX --del ../chk/ . +$RSYNC -aX file1 ../lnk/ xls file1 file2 >"$scratchdir/xattrs.txt"...
2011 Sep 16
2
Cannot get the syntax of --include-from right
Here is part of my backup script: nice -n 15 rsync -avl --exclude=".*" \ --include-from="/home/bob/backup_includes" \ "$fromdir" "$todir" Here is the content of /home/bob/backup_includes /home/bob/.vimrc /home/bob/.gitconfig My problem is that neither the .vimrc nor .gitconfig are copied to the backup directory. I have read the man page about --include-from but clearly I don't understand it. Thanks, Bob Parker
2009 Apr 16
0
Using rsync for a backup program but having trouble getting --exclude-from to wor
...on '--exclude-from' got me to the same place. > > Here is the script I am using: > #################################### > > #/bin/bash > suffix=`date +%Y%m%d` > echo Suffix is "$suffix" > fromdir=/home/bob/ > echo Source dir is "$fromdir" > todir="$maxtor6"BackupOfHome > excl="$fromdir".dobackup.excl > echo Exclusions file is "$excl" > echo Destination dir is "$todir" > rsync --exclude-from="$excl" -a -b -vv --suffix="$suffix" $fromdir > $todir > > exit 0 &gt...
2003 Nov 05
1
rsync is hanging for me
.... The system I am rsyncing from is relese 2.4.1, and the system I am rsyncing to is release 2.5.4. I am running on aix (both ends). I used to use the following: /usr/contrib/bin/rsync -vrace ssh --include-from $tmpFile --exclude "*" --rsync-path=/usr/local/binrsync $fromdir $toserver:$todir I am now using the following, and, while this fixed some of the hangs, I still have a couple large directories that are hanging (all files and directories are successfully written, but I do not get control back for 6 hours). /usr/contrib/bin/rsync -vrace ssh --rsync-path=/usr/local/binrsync $f...
2008 Oct 13
2
how to use --checksum-seed ?
...ve disk space I turn on --checksum so that when file's mod-times change rsync doesn't create a new file (breaking the hardlinking) unless the contents of the file are different as well. I tested the command: #rsync -aHiy -r --delete --ignore-errors --checksum --checksum-seed=1 fromdir todir but I couldn't find where the checksums were being cached. How does one use --checksum-seed ? Thanks! C.
2012 Feb 26
1
Problem with excludes and includes
Hi Folks, I can't get the syntax of --include-from right, nothing at all gets transferred. The rsync command: # do the backup nice -n 15 rsync -av \ --include-from="/home/bob/backup_includes" \ --exclude-from="/home/bob/backup_excludes" \ $fromdir $todir The excludes file: .* *~ Videos/ Downloads/ Dropbox/ The includes file: .vimrc .gitconfig .bash_aliases .bashrc Videos/Music/Playlist/ Videos/Music/Originals/ Downloads/Iso/ I've spent hours on the man page getting nowhere. Thanks Bob -------------- next part -------------- An HTML attachme...
2002 Mar 27
1
Wierd timestamp problem
...--checksum \ > --whole-file \ > --bwlimit=10240 \ > --timeout=600 \ > --exclude-from=$EXCLUDE \ > $FROMDIR $TODIR >> $OUTLOG 2>&1 Any thoughts and/or suggestions would be most apreciated. thanks, Paul
2014 Dec 30
2
Modification time error
...9;*' "$fromdir/" "$alt1dir/" +stat -c %y "$fromdir/text" "$alt1dir/text" $RSYNC -av --include=etc-ltr-list --include='*/' --exclude='*' "$fromdir/" "$alt2dir/" sleep 1 @@ -34,4 +35,4 @@ '$fromdir/' '$todir/'" "$fromdir" "$todir" # The script would have aborted on error, so getting here means we've won. -exit 0 +exit 99 in order to examine and preserve the data, I found: 2014-12-30 19:29:01.806934641 +0100 2014-12-30 19:29:01.820267972 +0100 in the test.log, e.g....
2001 Aug 25
0
problems with rsync version 2.4.6 protocol version 24 on solaris 2.8
...ant to sync EOF exit -2 fi FILESYSTEM=$1 # which file system to sync WORKPATH=/opt/Rsync # path to all needed files CONF_FILE=$WORKPATH/sync_nfs_filesystem.conf # config file of sync data FROMDIR=`grep ^$FILESYSTEM $CONF_FILE | awk '{print $2}'`/ # get's source data path TODIR=`grep ^$FILESYSTEM $CONF_FILE | awk '{print $3}'`/ # get's destination data path #NOTIFY_LIST="sysopsprod@lightbridge.com" # who to notify when done NOTIFY_LIST="plamadeleine@lightbridge.com,pel_pager@lightbridge.com" TIMELOG=$WORKPATH/times.log # log file of s...
2004 Apr 10
0
patches for copying atimes
...=== RCS file: testsuite/atime.test diff -N testsuite/atime.test --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ testsuite/atime.test 10 Apr 2004 23:28:36 -0000 @@ -0,0 +1,22 @@ +#! /bin/sh + +# Test rsync copying atimes + +. $srcdir/testsuite/rsync.fns + +set -x + +fromdir="$scratchdir/from" +todir="$scratchdir/to" + +mkdir "$fromdir" + +touch "$fromdir/foo" +touch -a -t 200102031717.42 "$fromdir/foo" + +TLS_ARGS=--atime + +checkit "$RSYNC -rtgvvv \"$fromdir/\" \"$todir/\"" "$fromdir" "$todir" + +# The s...
2002 Mar 28
1
rsync-2.5.5rc1: two problems on Apple Darwin (== MacOS X)
...0600 and followups, with the suggestion to use --disable-ipv6. I'd still rather have it build out-of-the-box without the need for additional configure switches.] There were then two failures in the test suite: ----- chgrp log follows + fromdir=/local/build/rsync-2.5.5rc1/testtmp.chgrp/from + todir=/local/build/rsync-2.5.5rc1/testtmp.chgrp/to + mygrps=+ /local/build/rsync-2.5.5rc1/getgroups + mygrps=10 73 50 887 75 + mkdir /local/build/rsync-2.5.5rc1/testtmp.chgrp/from + name=/local/build/rsync-2.5.5rc1/testtmp.chgrp/from/foo-10 + date + chgrp 10 /local/build/rsync-2.5.5rc1/testtmp.chgrp/from...