Hi,
I have a question about rsync. under /etc/ha.d/ there is a directory
called resource.d
I want to exclude it i have /etc/ha.d/resource.d in exclude.txt
when i run rsync -av /etc/ha.d 172.20.0.3:/root/ttt/ --exclude-from=exclude.txt
I still see resource.d being rsynced too on the destination
On Fri 24 Jul 2009, Kaushal Shriyan wrote:
I have a question about rsync. under /etc/ha.d/ there is a directory
called resource.d
I want to exclude it i have /etc/ha.d/resource.d in exclude.txt
when i run rsync -av /etc/ha.d 172.20.0.3:/root/ttt/
--exclude-from=exclude.txt
I still see
Kaushal Shriyan wrote:
Hi again
I have a directory logfiles and inside it it has lots of sub
directories. Inside it there are lots of .gz, .txt and .sql files
I want only .sql files to be rsynced to the destination host
is there a way to achieve it using rsync utility
Assuming you won't
Hi
I do rsync -avz oldUnicelFiles hostB:/home/kaushal
--exclude-from=exclude.txt
but it rsynced the excluded files too
my exclude.txt file contains
/home/kaushal/oldUnicelFiles/*.gz
/home/kaushal/oldUnicelFiles/*.txt
Any ideas as what am i doing wrong
On Wed 26 Nov 2008, Kaushal Shriyan wrote:
I do rsync -avz oldUnicelFiles hostB:/home/kaushal
--exclude-from=exclude.txt
but it rsynced the excluded files too
my exclude.txt file contains
/home/kaushal/oldUnicelFiles/*.gz
/home/kaushal/oldUnicelFiles/*.txt
On Wed, Nov 26, 2008 at 5:28 PM, Michal Soltys [EMAIL PROTECTED] wrote:
Kaushal Shriyan wrote:
Hi
I do rsync -avz oldUnicelFiles hostB:/home/kaushal
--exclude-from=exclude.txt
but it rsynced the excluded files too
my exclude.txt file contains
Kaushal Shriyan wrote:
I want only .sql files to be rsynced to the destination host.
when i do rsync -avz oldUnicelFiles hostB:/home/kaushal
--include-from=include.txt
it rsync all the files under oldUnicelFiles, I mean even .gz and .txt
files too.
~/oldUnicelFiles $ ls
Kaushal Shriyan wrote:
Hi
I do rsync -avz oldUnicelFiles hostB:/home/kaushal
--exclude-from=exclude.txt
but it rsynced the excluded files too
my exclude.txt file contains
/home/kaushal/oldUnicelFiles/*.gz
/home/kaushal/oldUnicelFiles/*.txt
Any
On Wed, Nov 26, 2008 at 7:05 PM, Michal Soltys [EMAIL PROTECTED] wrote:
Kaushal Shriyan wrote:
I want only .sql files to be rsynced to the destination host.
when i do rsync -avz oldUnicelFiles hostB:/home/kaushal
--include-from=include.txt
it rsync all the files under oldUnicelFiles, I