Displaying 20 results from an estimated 7000 matches similar to: "Exclude-from file format?"
2015 Aug 17
7
Error with paths with ()'s
I was trying to process a bunch of folders to sync them to another drive and ran across an error I haven’t seen before. Normally I do this sync via a mounted file system, but this time I tried to do it over ssh:
find . -type f -atime -1 -exec rsync -aP {} 10.0.0.11:/Volumes/Drive5/{} \;
bash: -c: line 0: syntax error near unexpected token `('
bash: -c: line 0: `rsync --server -logDtpre.iLsfx
2012 Oct 19
1
Understand include exclude script
hi
i use a script to backup my homedir, that work but there are somes things i don't really understand.
here my script
rsync -arv --delete --prune-empty-dirs --include-from=include.txt --exclude-from=exclude? /home/bob /media/usbkey
include.txt file
+ .Skype/***
+ .local/
+ .local/share/
+ .local/share/local-mail/***
+ .mozilla/***
- .**
exclude.txt file
Desktop/
Download/
.*
I have a
2015 Nov 18
2
exclude being ignored
Running debian wheezy w/ rsync 3.0.9-4. The command in question is
rsync -vahHz --delete --exclude '/proc' --exclude '*.iso' --exclude
'/home/holtzm/mail/backup' --exclude '/sys ' --exclude '/tmp'--exclude
'/media' /. /media/cf0a98ed-3c11-4107-b61e-f5139d024396/Wheezy-laptop
notice the --exclude '/media' notation. This setup has been
2015 Nov 20
2
exclude being ignored
On Wed, Nov 18, 2015 at 07:22:12PM -0500, Kevin Korb wrote:
> Note the lack of a space here: --exclude '/tmp'--exclude
>
> Also, just use / for the source instead of /.
>
> Also, don't use -z on a local copy.
Many thanks for the reply/solution. I've looked at the command 10-12
times and missed the omission of the space. I had been dinking around
with it and
2018 Jan 24
1
glob exclude vs include behaviour
not a bug, buy colour me confused:
/tmp/foo$ mkdir a
/tmp/foo$ touch a/foo
/tmp/foo$ touch a/.baz
/tmp/foo$ cd ..
/tmp$ rsync -avP --exclude=a/* foo bar
sending incremental file list
created directory bar
foo/
foo/a/
sent 71 bytes received 20 bytes 182.00 bytes/sec
total size is 0 speedup is 0.00
/tmp$ ls -la bar
total 20
drwxr-xr-x 3 user user 4096 Jan 24 14:17 .
drwxrwxrwt 70 root
2018 Mar 20
2
Very slow to start sync with millions of directories and files
On Tue, Mar 20, 2018 at 5:49 PM Kevin Korb <kmk at sanitarium.net> wrote:
> Nothing there should be preventing incremental indexing. That means it
> should start copying as soon as it finds a file that needs to be copied.
>
Doesn't it tries to create all (empty) directories first?
> On 03/20/2018 02:33 PM, Bráulio Bhavamitra wrote:
> >
> >
> > Em seg, 19
2009 May 29
2
strsplit
I am trying split a string and use one part of it to label graphs. I am using strsplit for that. While I am able to split it, how do I access the separated parts.
> filName<-"chrI_2223"
>part<- strsplit(filName,"\\_")
> part
[[1]]
[1] "chrI" "2223"
> part[1]
[[1]]
[1] "chrI" "2223"
I looked up the help archive but did
2014 Aug 22
1
problem with exclude
I've tried all of the permutations of exclude I can think of, so presumably I have some fundamental misunderstanding. The goal here is to exclude the file tv11.html in the ftp directory.
rsync -avvvv -n --verbose --one-file-system -exclude='ftp/tv1.html' /usr/local/src /Media/sata/usr/local > /tmp/rsync
(Server) Protocol versions: remote=30, negotiated=30
cmd=xclude=ftp/tv1.html
2016 Jun 02
2
rsync keeps writing files over
OK. Thanks. Where can I find information regarding how to interpret
—itemize-changes?
The timestamps aren’t changing, so the target must not be storing them,
which I have no idea why. The directory I’m writing to is 777.
What is the flag to tell rsync to ignore the timestamps?
Thanks,
Blake
On 6/2/16, 6:18 PM, "rsync on behalf of Kevin Korb"
<rsync-bounces at lists.samba.org on
2011 Nov 21
1
Read from HTML file, print if see a specific string
So basically I have made a HTML file with a table in it.
Column 3 contains a GenBank number and is always proceeded by "=GenBank">".
I want to read the file and return the number which comes directly after
this (the contents of column 3).
Ideally I would like to save this number as a string for use later in the
script, but any help is good help. Been at this for HOURS and
2018 Mar 20
2
Very slow to start sync with millions of directories and files
Em seg, 19 de mar de 2018 11:34, Kevin Korb via rsync <rsync at lists.samba.org>
escreveu:
> The performance of rsync with a huge number of files is greatly
> determined by every option you are using. So, what is your whole
> command line?
>
rsync -avP /data-old/ /data
>
> On 03/19/2018 09:05 AM, Bráulio Bhavamitra via rsync wrote:
> > Hi all,
> >
> >
2017 Apr 07
3
modification times questions
Thank you!
I run --times when I use rsync (I actually use the -a flag) but the times do not transfer over and if I run rsync dryrun with -i I can see that it wants to transfer the files because of times. When I run rsync a second time with your suggestion the times do transfer over. I don't know why...
B
________________________________________
From: rsync [rsync-bounces at lists.samba.org]
2016 Jun 02
2
rsync keeps writing files over
Thanks Kevin! I¹m unclear how to read the ‹itemize-changes output. Can you
provide some insight?
This is a local transfer from an external drive to an internal drive all
attached to one computer.
rsync -aPh --itemize-changes -n
/Volumes/shuttle_05/2012_79_1_14_1__1199_Workprint /Volumes/3TB_LTO/LT003A/
sending incremental file list
>f..t.......
2013 Feb 12
2
A --exclude-checksum option?
Hi,
I use rsync with hardlinks for backup, once a week doing checksums
to ensure there's no filesystem corruption in the
backed-up data.
I also use tmpwatch, or something similar, to clean up /tmp,
it removes files that have not been accessed recently.
(atime older than some configured limit).
I backup /tmp because I throw stuff in tmp that
I might possibly need again but don't want to
2018 Dec 04
4
Exclude and delete or not delete
Hello
I'm looking for a way to exclude and delete some items but not delete
other items. Use case:
I'm on Windows where there are folders like recycle.bin and system
volume information on every drive. I can exclude them while backing
up my data drive. But I now also have other data that is excluded
and that I want to delete from my existing backup. However if I use
--delete-excluded then
2016 Jun 02
9
rsync keeps writing files over
Cool Thanks!
Specifically, the timestamps on both <src> and <dest> match for "ls -l"
but do not match for "ls -lu" or "ls -lc”
The storage is just an regular HDD in a mac pro tower. I can’t imagine why
it wouldn’t handle timestamps. Also of note - this problem doesn’t exist
for every file, just the vast majority. So, that just makes it more
confusing.
Yes,
2012 May 01
2
Exclude from not excluding "My Music" or "Printhood"
We have been using rsync for some time with Linux and FreeBSD, but are
just now trying to make it work with Windows. Not as easy as we hoped.
I am running the cwrsync client 3.0.6 on a new Windows 7 machine to a
FreeBSD 8.1 server. I have an exclude-from filelist, which does seem to
successfully exclude the directories given by many of its entries,
including these two lines:
Documents/My[
2011 Aug 18
1
in/exclude[=] and multiple sources
I have been using rsync on and off for years, but it still has the ability to throw me on more occasions than I care to admit:-) Currently I am trying to obtain a better understanding of the --include and --exclude options. Even though I think I have a pretty good understanding of the basic mechanics of these options and can usually get things to work as I want, there are a couple of issues that
2007 Aug 20
1
system() fails with fc.exe (PR#9868)
Full_Name: Jens Oehlschl?gel
Version: 2.5.1
OS: Windows
Submission from: (NULL) (62.159.183.42)
Even when specifying the full path, the output of fc is not sent to R (neither
shown nor returned). For example
> system('c:\\WINDOWS\\system32\\fc.exe /?',intern=TRUE)
character(0)
When I do the same from python 2.3, I get
>>> import os
>>>
2016 Jun 24
2
--partial not working?
Hi Kevin,
I haven't specified --whole-file. After entering an rsync command the terminal always reads "delta-transmission disabled for local transfer or --whole-file" but I assume that is just a standard phrase that always appears.
So, if I am running partial (-P) and not using --whole-file or disabling the delta-transmission, why would an incomplete file be deleted and the