Displaying 20 results from an estimated 26 matches for "fromdir".
2002 Jun 15
0
[PATCH] make test patch.
...Np rsync-2.5.5.orig/testsuite/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.ori...
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
======================...
2005 Jun 24
1
[PATCH] Fix itemize test for objdir != srcdir builds
...=================================================
RCS file: /cvsroot/rsync/testsuite/itemize.test,v
retrieving revision 1.8
diff -u -r1.8 itemize.test
--- testsuite/itemize.test 10 Jun 2005 23:36:57 -0000 1.8
+++ testsuite/itemize.test 23 Jun 2005 22:51:57 -0000
@@ -32,7 +32,7 @@
makepath "$fromdir/foo"
makepath "$fromdir/bar/baz"
-cp -p "$srcdir/config.h" "$fromdir/foo/config1"
+cp -p "$srcdir/configure.in" "$fromdir/foo/config1"
cp -p "$srcdir/config.h.in" "$fromdir/foo/config2"
cp -p "$srcdir/rsync.h" &...
2017 Sep 08
3
file.copy(from=Directory, to=File) oddity
When I mistakenly use file.copy() with a directory for the 'from' argument
and a non-directory for the 'to' and overwrite=TRUE, file.copy returns
FALSE, meaning it could not do the copying. However, it also replaces the
'to' file with a zero-length file.
dir.create( fromDir <- tempfile() )
cat(file = toFile <- tempfile(), "existing file\n")
readLines(toFile)
#[1] "existing file"
file.copy(fromDir, toFile, recursive=FALSE, overwrite=TRUE)
#[1] FALSE
readLines(toFile)
#character(0)
or, with recursive=TRUE,
dir.create( fromDir <- tempfile()...
2002 Oct 08
1
Some tests fail if rsync is not on path (with patch)
...replace rsync with $RSYNC 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" "...
2009 Apr 15
2
Using rsync for a backup program but having trouble getting --exclude-from to work properly
Reading and re-reading the man page has got me 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" $fromd...
2017 Sep 11
0
file.copy(from=Directory, to=File) oddity
...py() with a directory for the 'from' argument
> and a non-directory for the 'to' and overwrite=TRUE, file.copy returns
> FALSE, meaning it could not do the copying. However, it also replaces the
> 'to' file with a zero-length file.
> dir.create( fromDir <- tempfile() )
> cat(file = toFile <- tempfile(), "existing file\n")
> readLines(toFile)
> #[1] "existing file"
> file.copy(fromDir, toFile, recursive=FALSE, overwrite=TRUE)
> #[1] FALSE
I get TRUE here, on Fedora Linux F24 and F26,
for...
2014 Dec 30
2
Modification time error
...suite. After patching it with:
--- a/testsuite/compare-dest.test 2007-09-03 22:43:58.000000000 +0200
+++ b/testsuite/compare-dest.test 2014-12-30 19:28:32.060267390 +0100
@@ -18,6 +18,7 @@
# Setup the alt and chk dirs
$RSYNC -av --include=text --include='*/' --exclude='*' "$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/'" "...
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,...
2015 Nov 28
0
[PATCH] ignore-non-existing-directory: add variant of ignore-non-existing
...gnore-non-existing-directory.test
new file mode 100644
index 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 "$fromd...
2016 Jan 16
0
[PATCH v2, resend] ignore-non-existing-directory: add variant of ignore-non-existing
...gnore-non-existing-directory.test
new file mode 100644
index 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 --ignor...
2015 Nov 28
0
[PATCH v2] ignore-non-existing-directory: add variant of ignore-non-existing
...gnore-non-existing-directory.test
new file mode 100644
index 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 --ignor...
2008 Mar 19
0
[PATCH] Unsnarl missing_below/dry_run logic.
...44
index 0000000..705050b
--- /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/&q...
2009 Apr 16
0
Using rsync for a backup program but having trouble getting --exclude-from to wor
...page has got me 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 --suf...
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...
2004 Apr 20
1
improved atime patch
...=========================================
RCS file: testsuite/atime.test
diff -N testsuite/atime.test
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ testsuite/atime.test 20 Apr 2004 21:06:20 -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 -rtAgvvv \"$fromdir/\" \"$todir/\"" "$fromdi...
2003 Nov 05
1
rsync is hanging for me
...nd not return to 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/...
2008 Sep 03
1
DO NOT REPLY [Bug 5732] New: xattrs.test calls wrong rsync
...nstead of plain rsync
---
testsuite/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 >"$...
2008 Oct 13
2
how to use --checksum-seed ?
...s. To save
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 a...