Displaying 20 results from an estimated 98 matches for "sourcedir".
2010 Mar 13
1
Specify Includes Only
...f this has been asked before, but I just can't find anywhere on the net that tells me how to do this. I've been trying for ages to get this right, using various forms of --include-from, --exclude, --filter, etc.
I want to copy only specific directories that contain specific filetypes, from sourcedir to destdir. For example, I want to copy all .mp3 and all .ogg files found in the GroupA, GroupC directories under /home/paul/sourcedir/. For example, if I have
/home/paul/sourcedir/GroupA/Album1/song.mp3
/home/paul/sourcedir/GroupA/Album1/cover.jpg
/home/paul/sourcedir/GroupA/Album2/song.ogg
/home...
2018 Aug 20
2
[Bug 13582] New: rsync filters containing multiple adjacent slashes aren't reduced to just one slash before matching
...lla.samba at gmail.com
QA Contact: rsync-qa at samba.org
Created attachment 14437
--> https://bugzilla.samba.org/attachment.cgi?id=14437&action=edit
rsync patch to transform every adjacent slashes into one slash
The following test script shows that attempting to exclude the file
/sourcedir/a/file2 by using //sourcedir//a//////file2 in the excluded files
list, will silently not exclude it because of all those adjacent slashes not
being reduced into just one /.
#!/bin/bash
mkdir -p destdir sourcedir/a
touch sourcedir/file1 sourcedir/a/file2
echo 'sourcedir' >/tmp/filesfro...
2011 Jul 28
20
[Bug 8336] New: parent dir permission
...us: NEW
Severity: normal
Priority: P5
Component: core
AssignedTo: wayned at samba.org
ReportedBy: andras.porjesz at ericsson.com
QAContact: rsync-qa at samba.org
Hi all,
I use the following syntax:
rsync -av --relative --link-dest=/a/refdir /a/sourcedir/./dirtree/to/transfer
<ip>::module/a/sourcedir
in rsyncd.conf I set the following:
uid=root
gid=root
use chroot=true
--------------
the problem is the directory named sourcedir on the receiver side. rsyncd sets
its ownership to root:root instead of either leaving it as is or taking the
values...
2007 Jan 26
1
directory, effect of recurse with ensure => directory
.../dir"
owner => ''root'',
group => www-data,
recurse => true,
ensure => directory,
mode => 640
}
problem:
debug: //myserver/sourcedir/File[/var/www/base_admin/server_sql.php]: Changing ensure
debug: //myserver/sourcedir/File[/var/www/base_admin/server_sql.php]: 1 change(s)
debug: //myserver/sourcedir/File[/var/www/base_admin/server_sql.php]: Removing existing file for replacement with directory
debug: /myserver/sourcedir/File[/va...
2010 Jun 04
2
Backup to NTFS USB drive --compare-dest not working
...external/sdt5) all the files are copied regardless if they have been
updated or not. I have spent many hours trying to figure out what could be
wrong and trying different options, still I have no idea how to make it
work. I will appreciate any help.
I have set up following directories for my test:
SourceDir/
FullBackupDir/
IncBackupDir/
NtfsFullBackupDir -> /share/USBDisk2/TMP/NtfsFullBackupDir/
NtfsIncBackupDir -> /share/USBDisk2/TMP/NtfsIncBackupDir/
Following commands work as expected, the files are copied from the source
directory only to the "full backup" directories and not to t...
2018 Mar 04
2
file contents cause rsync to fail (with certains args and dir structure)
...ash
#tested to fail as below: ArchLinux's rsync-3.1.3-1-x86_64.pkg.tar.xz
#tested to fail as below: ArchLinux's rsync-3.1.3pre1-1-x86_64.pkg.tar.xz
#tested to work ok : ArchLinux's rsync-3.1.2-8-x86_64.pkg.tar.xz
if test "$1" == "clean"; then
rm -vrf destdir sourcedir sourcedir2 sourcedir3
exit 0
fi
echo '!! test 1:'
mkdir -p destdir
mkdir -p sourcedir/a
#one \0 followed by a non-\0 (so, using a space) required:
echo -ne '\0 ' > sourcedir/a/b
#non zero size file required:
echo -ne 'c' > sourcedir/c
echo 'sourcedir' >/...
2018 Mar 04
0
file contents cause rsync to fail (with certains args and dir structure)
...#tested to fail as below: ArchLinux's rsync-3.1.3-1-x86_64.pkg.tar.xz
#tested to fail as below: ArchLinux's rsync-3.1.3pre1-1-x86_64.pkg.tar.xz
#tested to work ok : ArchLinux's rsync-3.1.2-8-x86_64.pkg.tar.xz
if test "$1" == "clean"; then
rm -vrf destdir sourcedir sourcedir2 sourcedir3
exit 0
fi
echo '!! test 1:'
mkdir -p destdir
mkdir -p sourcedir/a
#one \0 followed by a non-\0 (so, using a space) required:
echo -ne '\0 ' > sourcedir/a/b
#non zero size file required:
echo -ne 'c' > sourcedir/c...
2007 Mar 02
2
MBOX to MAILDIR conversion
Thinking about going from mbox to maildir. Started with mbox way back
when but thinking about making the conversion. The main reason is that I
use rsync for backups and when these huge mailboxes are touched I have
to copy the whole thing. With maildir I only copy the files that change.
So - my questions is - what's the easiest way to make this happan. I
assume there are conversion
2018 Mar 05
1
file contents cause rsync to fail (with certains args and dir structure)
...#tested to fail as below: ArchLinux's rsync-3.1.3-1-x86_64.pkg.tar.xz
#tested to fail as below: ArchLinux's rsync-3.1.3pre1-1-x86_64.pkg.tar.xz
#tested to work ok : ArchLinux's rsync-3.1.2-8-x86_64.pkg.tar.xz
if test "$1" == "clean"; then
rm -vrf destdir sourcedir sourcedir2 sourcedir3
exit 0
fi
echo '!! test 1:'
mkdir -p destdir
mkdir -p sourcedir/a
#one \0 followed by a non-\0 (so, using a space) required:
echo -ne '\0 ' > sourcedir/a/b
#non zero size file required:
echo -ne 'c' > sourcedir/c
ec...
2011 Nov 25
2
[PATCH 6/7] Create 2 ocaml packages, libxen-4.1-ocaml and libxen-4.1-ocaml-dev.
...l_$(ARCH): DIR = $(BUILD_DIR)/install-utils_$(ARCH)_ocaml
+install-lib-ocaml_$(ARCH): PACKAGE_NAME = libxen-$(VERSION)-ocaml
+install-lib-ocaml_$(ARCH): DH_OPTIONS = -p$(PACKAGE_NAME)
+install-lib-ocaml_$(ARCH): $(STAMPS_DIR)/install-utils_$(ARCH)
+ dh_testdir
+ dh_testroot
+ dh_prep
+ dh_install --sourcedir=$(DIR) $(OCAML_STDLIB_DIR)/*/META
+ dh_install --sourcedir=$(DIR) $(OCAML_STDLIB_DIR)/*/*.cma
+ dh_install --sourcedir=$(DIR) $(OCAML_DLL_DIR)/*
+ dh_strip
+ dh_shlibdeps
+ dh_ocaml
+ +$(MAKE_SELF) install-base
+
+install-lib-ocaml-dev_$(ARCH): DIR = $(BUILD_DIR)/install-utils_$(ARCH)_ocaml
+instal...
2018 Mar 05
5
[Bug 13320] New: file contents cause rsync to fail (with certains args and dir structure)
...ash
#tested to fail as below: ArchLinux's rsync-3.1.3-1-x86_64.pkg.tar.xz
#tested to fail as below: ArchLinux's rsync-3.1.3pre1-1-x86_64.pkg.tar.xz
#tested to work ok : ArchLinux's rsync-3.1.2-8-x86_64.pkg.tar.xz
if test "$1" == "clean"; then
rm -vrf destdir sourcedir sourcedir2 sourcedir3
exit 0
fi
echo '!! test 1:'
mkdir -p destdir
mkdir -p sourcedir/a
#one \0 followed by a non-\0 (so, using a space) required:
echo -ne '\0 ' > sourcedir/a/b
#non zero size file required:
echo -ne 'c' > sourcedir/c
echo 'sourcedir' >/...
2010 Nov 15
1
Two problems: -u together with -c and and a symlink problem
Hi,
I have two problems with rsync
1st) if I give both commandline options -u and -c
it looks as if a file which is more recent but different
on the destination is not updated, i.e. -u overrules -c
Is that true?
2nd) There is a symlink A on <SourceDir> which refers to a directory
On the other hand, A is the name of a subdirectory of <DestDir>
Now doing
rsync -auHz --delete --exclude=/A <SourceDir>/ <DestDir>/
does remove A on <DestDir> - why ?
I'm using rsync-3.0.7 .
Many thanks for a hint,...
2009 Jan 31
3
Script: Moving Maildirs between servers
...e of them
# is probably named _dovecot) that shall not be copied. Edit the username
# exclusion list according to your needs.
#
for username in `ls $SOURCEBASE`; do
{
# This is your username exclude list:
case $username in (maildir|_dovecot) continue;; esac
# Here starts the real work:
SOURCEDIR=$SOURCEBASE/$username/$MD
DESTDIR=$DESTBASE/$username/$MD
echo "================================"
echo "Copying user "$username"..."
echo "From "$SOURCEDIR" to "$DESTDIR":"
# IMAP Folder loop:
# Will create the Maildir f...
2007 Oct 11
1
[LLVMdev] .ll test cases for tail call optimization in test-suite
...normal llc with a
file compiled with llc -tailcallopt.
So my SingleSource/TailCall/Makefile looks like the following:
----
LEVEL = ../..
include $(LEVEL)/Makefile.config
#DISABLE_FOR_LLVM_PROGRAMS := 1
PROGRAM_REQUIRED_TO_EXIT_OK := 1
#REQUIRES_EH_SUPPORT := 1
PROGRAMS_TO_TEST :=
$(patsubst $(SourceDir)/%,%,$(basename $(wildcard $(SourceDir)/*.ll)))
include $(LEVEL)/Makefile.programs
.PRECIOUS: Output/%.linked.rll
Output/%.linked.rbc: Output/%.bc
-cp -f $< $@
# since there is no native use llc output
Output/%.native: Output/%.bc Output/.dir
-$(LLC) < $< | $(CC) -x a...
2008 May 30
2
rsync on stand alone winXP
...of commands it means rsync is connected).
And also I am able to copy the files or directory in the same location where these four(rsync.exe,cygwin.dll,cygwin-0-dll,rsync-param.reg) are. like these are in C:\program files\rsync folder so by using the command-> C:\program files\rsync\rsync -avz sourceDIR/ destDIR/ I am able to copy the directory nut it is copying only on the same location where above files are not from one drive to another drive.
Please help me out.
Thanks
Regards
M Chauhan
-------------- next part --------------
HTML attachment scrubbed and removed
2011 Mar 13
1
How to install source rpm on centos
Hi to all.
I'm having a problem with the rpm command on centos 5.5;
I am used to recompile a source rpm with the following command:
root at test ~: rpmbuild --rebuild pssh-1.2.2-1.rf.src.rpm
Installing pssh-1.2.2-1.rf.src.rpm
error: cannot create %sourcedir /home/test/rpm/SOURCES
error: pssh-1.2.2-1.rf.src.rpm cannot be installed
Does anybody know something about that ?
Thanks in advance....
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20110313/89021b8b/attac...
2001 Oct 26
3
Samba-2.2.2 + RH 7.2
I downloaded the samba-2.2.2-20011013.src.rpm to see if it will work on RH
7.2 when I try to install this file I get this error message
Error:cannot create %sourcedir /usr/src/redhat/sources
Any ideas what I am doing wrong does it work with 7.2
Thx.
-------------- next part --------------
HTML attachment scrubbed and removed
2011 Nov 29
6
[OCAML 0/7] V4 or so of the xen ocaml packaging patches
...e in the package name
* Removed superfluous GENCONTROL definitions - dh_ocaml does what we need
* Removed inclusion of the ocamlvars.mk in rules - it only needs to be
in rules.real
* Fixed a problem with the dh_install invocations where it was globbing
the local filesystem rather than the sourcedir
* Excluded the .owner files from OCAML_DLL_DIR
* Renamed the patches to reflect their origins, and whether they are exactly
taken from upstream or reworked.
* Rebased on Bastian's latest work
Likely that the larger patches will be rejected again, so they're all available
here:
http...
2003 Dec 05
0
[LLVMdev] Re: Makefile.config&setenv
...lse
> LLVM_OBJ_ROOT := $(BUILD_OBJ_ROOT)
> endif
> endif
>
> #
> # Set the LLVM source directory.
> # It is typically the root directory of what we're compiling now.
> #
> ifndef LLVM_SRC_ROOT
> LLVM_SRC_ROOT := $(BUILD_SRC_ROOT)
> endif
>
> #
> # Set SourceDir for backwards compatbility.
> #
> ifndef SourceDir
> SourceDir=$(BUILD_SRC_DIR)
> endif
>
>
>
> ------------------------------------------------------------------------
>
> #! /bin/sh
>
> PATH=/home/yue/llvm/obj/tools/Debug:${PATH}; export PATH
> SRC_ROOT...
2006 Jun 28
1
installing R on RedHat
Dear R People:
Yet again, I am attempting to install R on RedHat Linux.
Here is my sorry attempt to date:
[hodgess at gator hodgess]$ rpm -vi R.rpm
warning: R.rpm: V3 DSA signature: NOKEY, key ID 97d3544e
error: cannot write to %sourcedir /usr/src/redhat/SOURCES
I only want to write it to my own userid, since I am the only one
who uses it.
Any suggestions would be much appreciated.
Thanks,
Sincerely,
Erin Hodgess
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston - Downtown
mailto: hodgess...