Displaying 20 results from an estimated 80000 matches similar to: "Yet another include/exclude question"
2010 Jan 21
2
Help with correct text file syntax EXCLUDE/INCLUDE + OPTION
Hi,
Linux-Ubuntu here. English is not my first language. The man rsync is
difficult to understand. I want to backup some folders recursively and
some files, see [1] in my /home dir to an external USB HD (Ext4). I want
to use a text file for the purpose.
[1]
/home/user/Documents
/home/user/Software
/home/user/.evolution/addressbook/local/system/addressbook.db
2017 Mar 03
2
How do you exclude a directory that is a symlink?
Considering you cant INCLUDE a directory that is a symlink... which would
be really handy right now for me to resolve a mapping of 103 -> meaningful_name
for backups, instead im resorting to temporary bind mounts of 103 onto
meaningful_name, and when the bind mount isnt there, the --del is emptying
meaningful_name accidentally at times.
I think both situations could benefit from a
2011 Aug 19
2
exclude hidden files
I want to exclude from the sync ALL files that start with a dot, IOW hidden files. But using --exclude '.*' does funny things with directories (or at least I think it does). Is there a recognised correct way to do this?
I thought --exclude '.???*' would avoid the directory issue by only excluding any dot file(dir) with a name longer than 2 characters. Not tried it yet, but would
2015 Jun 15
1
rsync very slow with large include/exclude file list
I investigated the rsync code and found the reason why.
For every file in the source, it searches the entire filter-list looking to
see if that filename is on the exclude/include list. Most aren't, so it
compares (350K - 72K) * 72K names (the non-listed files) plus (72K * 72K/2)
names (the ones that are listed), for a total of about 22,608,000,000
strcmp's. That's 22 BILLION
2010 Oct 22
3
include-from or files-from
Hello List,
i have got a large File-List which looks like this:
...snip...
165/165950*.jpg
166/166072*.jpg
...snap....
Now i would like to transfer only those file from that list. The rsync command:
rsync -avz -F --files-from=/tmp/synclist-small.txt /mnt/ /data/
does not seem to work due to that wildcard.
The command:
rsync -avz -F --include-from=/tmp/synclist-small.txt /mnt/ /data/
syncs
2004 Jun 15
3
how to exclude large files from backup list.
Hi,
I am using a computer to back up files from another computer automatically. I want to exclude large files from backing up. How can I do that?
Thank you.
Wensheng Jiang
2008 Jan 26
2
--exclude patterns
Hi,
I want to rsync a large number of files from A to B, but I need
to exclude certain files. Specifically, A has
/test/runs/{1,2,3,...,2500}, i.e., about 2500 directories here.
However, I only want to transfer the directories that are
numbered 2000 or higher, i.e., I want to exclude
/test/runs/{1,2,3,...,1999}, so I tried this:
rsync --include='/test/runs/***' \
2019 Mar 22
2
Kudos and feature question
Kudos all that maintain this awesome and enduring piece of software. Awesome job, many thanks.
I’ve come across a use case that would greatly benefit form a —delete-older-than <secs> argument. This would behave the same as —delete only sparing files dest that have a creating time less than <secs> ago. How hard would this be to implement? Where would I start ?
TIA,
Francois
2015 Apr 16
2
rsync --delete
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I don't understand what is wrong with rm either.
But if you must have an empty directory is there a tmpfs where you can
make one? Is there already an empty one like /var/empty?
On 04/16/2015 10:13 AM, Ken Chase wrote:
> Wow, it took me a few seconds to figure out what you were trying to
> do.
>
> What's wrong with rm?
>
2015 Apr 30
3
Rsync Failed & /proc/kcore 128 TiB & NTFS HDD Makes Scary sounds even when not mounted
Hi,
I tried to backup my gentoobox using rsync into a NTFS External Drive
Rsync Failed And now there is no space lesft on my root directory "/"
and kcore file size is 128 TiB and my External NTFS HDD makes scary
sounds (Like it is working hardly) even when its not mounted rsync
created some files/directories that i cant remove them on my External
HDD using "rm -rf" , Please
2009 May 28
4
some files vanished before they could be transferred
Hi,
I am getting "rsync warning: some files vanished before they could be
transferred (code 24) at main.c(1039) [sender=3.0.6]" now frequently but
while using rsync version 2.6, I used to get it rarely. Any idea would be
helpful on why rsync 3.0.6 is throwing this warning frequently.
Jignesh.
-------------- next part --------------
HTML attachment scrubbed and removed
2003 Aug 03
3
Include-from ?
Hello -
I just finished doing a search of the archives and couldn't seem to get
this answered.
Example, I have a root directory containing the following directories:
/Test1
/Test2
/Test3
I want to rsync only /Test2 and all subdirs under. So my include-from
file looks like:
+ Test2/*
- /*
This doesn't work as nothing is synced, and if I do a -vv it tells me
that nothing is being
2009 Feb 23
6
installing rsync-3-0-5 on a Mac
Hi -
is "rsync --version" reporting the wrong version number, or am I to
stupid to properly install rsync-3-0-5 on a Mac?
Here is what I did:
download and extract rsync-3-0-5 (btw: why is there an extra patches
folder?)
in Terminal I ran: ./configure, make, sudo make install
There was no error message, and the old /usr/local/bin/rsync was
replaced.
When I now issue "rsync
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
2014 Dec 14
1
Aw: Re: Re: rsync not copy all information for font file
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/rsync/attachments/20141214/3d32f770/attachment.html>
2009 Dec 16
4
rsync exclude
I am trying to backup my /home directory. A friend helped me with this
script:
#!/bin/sh
#backup friday
#"Spinning up backup drive and mounting it .."
cd /
mount /mnt/hd2
#"Starting backup procedures"
rsync -avx --exclude="/home/gary/.thumbnails/"
--exclude="/home/gary/tmp/" --delete --ignore-errors /home/gary
/mnt/hd2/2010
umount /mnt/hd2
#END
It backs
2008 Sep 22
2
rsync is effecting in the DC switch??
hi guys, we are using rsycn without problem but today after some
problems in one of the servers, the dc tech did find the rsync is
effecting in the switch where they have the server connected
broadcasting all the ports in the switch at the dc?????
This is what the dc tech said:
"It appears that your server is broadcasting to every port on the switch
that you are connected to"
Any
2020 May 25
3
Enabling easier contributions to rsync
I've decided to give hosting it on github a try, especially since there's
been a lot of nice contributions lately. Hopefully this will make it
easier for both the people sending patches as well as for me to snag the
changes. I'll continue to push changes to the samba git as well.
Here's the new repo: https://github.com/WayneD/rsync
Feel free to open issues there, but we
2015 Sep 10
2
Doubt on usage of rsync for chown of existing folders
Hi Kevin,
Thank you very much. I changed my user in the remote machine (su).
Then, by trying again with rsync but with no modification in the source folder, I see that file ownership continues the same.
Would be possible for rsync to change the ownership in this case (I am not root) ?
Thanks,
Regards,CJ
Em Quinta-feira, 10 de Setembro de 2015 20:01, Kevin Korb <kmk at
2009 May 18
4
Possibility to porting Rsync to NT and other platforms
Hello,
I am looking into possibilities of porting RSync for windows. Does anybody
have an idea that which libraries and dependencies RSync uses which can not
be compiled on windows (so thats why we use cygwin)
Regards
Hasanat Kazmi
--
Hasanatkazmi@gmail.com
"I hate Capitalism,so naturally I love Open Source" -- Hasanat Kazmi
+923464362473
-------------- next part --------------
HTML