Displaying 20 results from an estimated 30000 matches similar to: "Excluding files with no extensions - windows cygwin client"
2018 May 03
1
Getting --delete to work, simply
On Thu, May 03, 2018 at 02:59:11PM -0400, Kevin Korb via rsync wrote:
> Note that these are working because S* and s* are being applied to all
> the dirs and files within dirs. So if you had x/Something it wouldn't
> get copied and if you had S/else it wouldn't get copied. Maybe you want
> to add --prune-empty-dirs and an --include='*/' so that rsync will look
>
2010 Feb 02
1
Find and excluding directory
Hi
I have to use find to change the perms of a directory and files within
that directory recursively but i need to exclude a directory within the
top level directory, as its a netapp and so contains a read only
.snapshot dir.
I have tried...
# find /var/data/foo -path '\.\/\.snapshot' -prune -o -exec chown
usera:groupb {} \;
but
chown: changing ownership of
2016 Feb 03
6
delete directories with find and exclude other directories
Hi all,
I'm attempting to delete some directories and I want to be able to exclude
a directory called 'logs' from being deleted.
This is my basic find operation (without the exclusion)
# find . -type d |tail -10
./d20160124-1120-df8mfb/deployments
./d20160124-1120-df8mfb/releases
./d20160131-16993-vazqg5
./d20160131-16993-vazqg5/metadata
./d20160131-16993-vazqg5/deployments
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
2017 Oct 26
1
Yet another filter question
Given the structure…
/foo/bar/want-this.txt
/foo/bar/want-this-2.txt
/bar/foo/
/do-not-want-to-transfer/test.txt
With the desire to ‘include items with foo in their path’...
I understand that the closest I can get to a satisfactory filter ruleset is
something like:
+ **foo**
+ */
- *
… and setting --prune-empty-dirs.
However, /bar/foo/ is empty, and of course should be copied.. but is pruned.
2014 Jul 29
2
[Bug 10748] New: 3.1.0 and 3.1.1 create all dirs on target even with --prune-empty-dirs
https://bugzilla.samba.org/show_bug.cgi?id=10748
Summary: 3.1.0 and 3.1.1 create all dirs on target even with
--prune-empty-dirs
Product: rsync
Version: 3.1.1
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P5
Component: core
AssignedTo: wayned at samba.org
2016 Feb 03
2
delete directories with find and exclude other directories
On 02/03/2016 10:11 AM, m.roth at 5-cent.us wrote:
> find . -type d ! -name logs -prune
That will prune all of the directories whose name is not "logs",
starting with "."
So... not terribly useful.
2010 Mar 04
2
--prune-empty-dirs option not doing the job
Hello and thanks to all who so generously assist on this great list.
test command:
rsync -avm --del --prune-empty-dirs --compare-dest=/Users/generic/Desktop/B /Users/generic/Desktop/A/ /Users/generic/Desktop/C
produces a large number of directories and nested directories on the destination that are empty. i've tried tweaking so many different combinations of options i'm beginning to
2018 Jan 11
1
downloading only specific directories from directory tree
Thank you for your answer, Kevin.
2. OK, I understand.
1. I checked colon dirs, and indeed they don't have openSUSE_Leap_42.2
dirs directly. But they have different subdirs which have
openSUSE_Leap_42.2 dirs. What would be the correct filter set
to mirror all openSUSE_Leap_42.2 dirs at any level if I don't want
to include all dirs at the root level? At the roor level tehre are
many dirs
2016 Jan 27
2
[PATCH 2/2] core: Fix stack overflow when reloading config
2016-01-26 20:22 UTC+01:00, H. Peter Anvin <hpa at zytor.com>:
> On 01/26/16 06:55, Celelibi wrote:
>>
>> Do you mean executables should also stay in memory and just get a
>> fast-reinitialization when re-running them?
>>
>
> Yes. I hope that it would make things a lot faster, especially over the
> network. However, it wouldn't really matter in the
2008 May 30
1
CPAN mirroring exclude syntax assistance request
I'm running a local CPAN mirror and there is one recursive subdirectory
I desire to exclude. I've tried many different syntax variations with no
luck. Someone let me know where I'm going wrong:
/usr/bin/rsync -av --delete --exclude '/src/***' --no-implied-dirs \
--delete-excluded --prune-empty-dirs ftp.funet.fi::CPAN /cpan-mirror/
Thanks.
--
Love feeling your
2018 Jan 10
2
downloading only specific directories from directory tree
Dear Kevin:
~ 1 year ago your answer helped me to solve my problem.
This time I would like to do a similar thing but little bit modified.
I read again carefully INCLUDE/EXCLUDE PATTERN RULES section of rsync
manual but still cannot comprehend every part of it.
I understand I have to add include patterns first and exclude patterns
second. But it is not clear if I have to add all the include
2017 May 31
8
OT: Want to capture all SIP messages
I want to capture all SIP messages.
I have about 30 hosts in about 6 colos.
My first thought was dumpcap, but the output file name format bugs me.
What do you use for long term SIP capture?
--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST
2014 May 11
3
find with exclude directory
Hey all,
I'm trying to do a find of all files with the phrase 'varnish' in the
name, but want to exclude a user home directory called
/usr/local/digitalplatform.
Here's what I was able to come up with:
find / -path '/usr/local/digitalplatform/*' -prune -o -name "*varnish*"
Which results in this:
[root at uszmpwsls014lb ~]# find / -path
2010 Apr 02
1
DO NOT REPLY [Bug 7321] New: Extend "p" filter modifier to make source dirs prunable
https://bugzilla.samba.org/show_bug.cgi?id=7321
Summary: Extend "p" filter modifier to make source dirs prunable
Product: rsync
Version: 3.1.0
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P3
Component: core
AssignedTo: wayned at samba.org
ReportedBy:
2008 May 22
1
Request for exclude syntax assistance
I'm baffled by exclude syntax. I'm mirroring CPAN and am trying to
exclude all files in the src/ directory. I've tried for days to figure
this out and now throwing myself on the mercy of this list.
Here's my current incantation:
/usr/bin/rsync -av --delete --exclude '/src/**' --delete-excluded \
--prune-empty-dirs ftp.funet.fi::CPAN /cpan-mirror/
I've
2005 Jan 13
4
load object
Hi,
I happen to re-write my codes to save memory and my
approach is write my obj into file first and later I
load it.
However, it seems like:
load(filename) can load the object but the function
returns the name of the object instead of the
reference to it. For example, I have an object called
r0.prune, which is saved by
save(r0.prune, file='r0.prune')
and later, I want to load it by
2016 Sep 20
2
-sanitizer-coverage-prune-blocks=true and LibFuzzer
Hello LLVM devs,
I'm running lots of experiments with LibFuzzer these days -- it's an
amazing tool!
I've noticed something weird while examining the effect of various coverage
options: for one of my benchmarks, the fuzzer was achieving a higher total
coverage before April 2016, when -sanitizer-coverage-prune-blocks became
true by default (commit
2005 Apr 07
1
build rpvm under cygwin
I tried ot build rpvm in my own makefile.
But runs into some linker errors like e.g.
undefined reference to `_R_alloc'
My enviornment looks like this:
CYGWIN
pvm 3.4 compiled under cygwin myself
R installed from the rw2001.exe setup file.
I guess that the R under rw2001.exe was build with
some other compiler?
I then tried to compile R myself under CYGWIN but runs
into the following
2008 Dec 16
3
Backing up Outlook pst files
Hi - I'm backing up a Windows client which has a number of Outlook
mail archives (pst files) and annoyingly whenever you open Outlook it
updates the modification dates of all pst files - even if you don't
change any of the emails contained in the archive.
What's the best way of backing up these files without having them fill
up my backup disk with mostly identical copies of