Displaying 20 results from an estimated 10000 matches similar to: "Filter file: selected directories only"
2004 Dec 21
1
smb_trans2: invalid data
Hello everyone,
I have tried to solve out the 'smb_trans2: invalid data' by 'unix extensions =
no' as it was written in one of the previous mails. Still I have a bad
problem:
when I mount like this:
mount.smbfs //server/service /local_dir -o
username=my_remote_login,uid=my_local_login,gid=users,rw
and then I try to copy a file to /local_dir as the user my_local_login, the
2003 Nov 18
2
Win2k Scheduler not able to execute rsync over SSH
Hi there,
I have tried enough of it and couldnt get any where.
I have a Redhat 9.x box with rsync
I want to backup contents on the RH to Win2K box.
I have copied required cygwin DLL's and rsync.exe,ssh-keygen.exe and ssh.exe.
I set up my pub rsa id and all that stuff.
My problem is here:
I have a batch file which logs itself. The batch file contains some logging commands and
rsync -avze ssh
2019 Jan 24
5
sftp Vs scp
On Jan 24 03:47, Malcolm wrote:
> Quoting Chris High <highc at us.ibm.com>:
>
> > caught my eye. Do you see any 'advantage' to using sftp with an untrusted
> > server? If so, any thoughts about making an easy way to disable scp both
> > client and server side when doing an installation?
>
> SFTP allows file resume, while scp does not. If this
2008 Oct 09
1
rsync backup permissions
I had a quick look for an answer to what I'd presume is a common Q but
failed so wondering if somebody here would point me in the right
direction, please & thanks?!
I wish to use rsync to backup users' home dirs from machineA (Debian) to
machineB (Fedora). I have a script, say backup.sh, in my own home dir
and linked to from /etc/cron.daily and have set up the ssh keys so
2004 Nov 27
2
Shared remote repository
Hello,
I have a bit of a problem - I have the feeling the solution is
ridicolously trivial, and yet I can't find it!
I have a remote repository of text files. Until today, I was the only
one changing those files: I would simply change them locally, and
update the remote repository with this command:
cd local_dir
rsync --delete -e ssh -Llavuz . merc@remote_server:remote_directory
2005 Feb 02
1
Selectively overriding --cvs-exclude option
Hi,
I've come across a situation with rsync which seems like a bug. I could
not find anything listed in bugzilla so am writing to the list to see if
it's just me.
I have a situation where I would like to upload some auto-generated
files to a website. However, I don't want these files to be included in
my CVS repository so I have added them to a .cvsignore file.
To save from creating
2019 Feb 27
2
Samba 4.9.4 drops group write permission on files (at file access time) with 'vfs objects' enabled
We just noticed an interesting bug/misfeature on our Samba 4.9.4 servers (FreeBSD 11.2). The same effect is also visible on Samba 4.8.3 on CentOS 7.
Start with a directory that looks like this:
root at filur00:/tmp/test # ls -la
total 50
drwxrwx--- 2 peter86 uf-iti-all 3 Feb 27 11:27 .
drwxrwxrwt 10 root wheel 56 Feb 27 16:41 ..
-rw-rw---- 1 mikha02 uf-iti-all 6 Feb 27 11:27
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
2019 Jan 23
3
sftp Vs scp
Damien,
Reading the various articles about
https://sintonen.fi/advisories/scp-client-multiple-vulnerabilities.txt have
caused me to question the wisdom of using scp. Your observation:
> Date: Tue, 22 Jan 2019 13:48:34 +1100 (AEDT)
> From: Damien Miller <djm at mindrot.org>
> Subject: Re: Status of SCP vulnerability
>
> "Don't use scp with untrusted
2019 Jan 24
3
sftp Vs scp
I almost never use bare 'scp' or 'sftp' anymore; I start with either 'rsync' or, if 'rsync' is not present and not installable on one end or the other, the "tar-over-bare-ssh" approach:
```
tar cf - localpath | ssh remote.host 'cd remotepath && tar xvf -'
```
I'd be in favor of one of the following:
1. 'scp' goes away, and
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
2007 Oct 08
3
embedFonts rotates figure
Dear All,
Consider the following code:
pdf(file="figure.pdf",family="URWPalladio")
curve(dlnorm(x,0,1.5),0,10,xlim=c(0,10),ylim=c(0,0.85),axes=F,xlab="",ylab="f")
segments(exp(-1.5^2),0,exp(-1.5^2),dlnorm(exp(-1.5^2),0,1.5),lty="dashed")
segments(1,0,1,dlnorm(1,0,1.5),lty="dashed")
2002 Jun 01
0
Testing a transfer-only rsync tool
I found some time in the past week to work on a simple test app that
would hopefully help to answer a few questions that came up recently:
1. Can a single-process generator+receiver work well? (Looks good so far,
but I haven't run any multi-processor timing tests yet.)
2. How easy is it to use librsync? (Pretty easy.)
3. How small would a transfer-only tool be? (It's currently
2005 Oct 18
1
Help needed with filtering rules - how to copy named directories only
Hi,
I'm sure what I'm trying to achieve is remarkably easy, but I just can't
figure it out. What I want to do is to copy all directories named lib (and
their contents) over to a local drive. It's currently a pull operation, but
I could set it up as a push.
I've read the man page twice, looked at the FAQ, examples and searched on
google but no joy.
My command looks like the
2008 Jul 29
2
msdfs root = yes is the default???
Why is that when you create a share, the default is 'msdfs root = yes'?
Also, why is that a share that is set 'msdfs root = yes' -- or, rather,
a share that does /not/ set 'msdfs root = no' -- advertises that it is a
DFS root to the Linux CIFS client, /even /when 'host msdfs = no'? This
sounds like A) a bug (ignoring 'host msdfs', and B) a misfeature (msdfs
2007 Sep 06
1
iproute: add destination route by hostname...
Hi all
How to add a static route to a hostname with iproute2?
I tried:
ip route add linux.com via 192.168.1.1
I got the following reply:
Error: an inet prefix is expected rather than "linux.com".
With "route command" I do not have problems
route add -host linux.com gw 200.214.148.140
As the iproute2 is the standard in the current linus distros, I would like
to know if is
2013 Apr 19
3
[LLVMdev] funny llvm bug
I'm going to file this bug but it's kind of a blocker for me so maybe
someone has time
to look at it. Should be nearly trivial to fix.
It's a bug in the way the "section" attribute of functions is processed.
Consider the following code:
void x(int i) __attribute((section(".mySection,\"aw\", at progbits#")));
void x(int i) {
}
If you compile this
2006 May 27
3
On what versions of FreeBSD can we unreserve ports?
On which versions of FreeBSD is it now possible to
un-reserve ports?
( I've been waiting for this since forever ... have
spent countless days - $$$ - trying to install
workarounds, only to junk them later. I've even
been paid a consulting gig to develop this, and
declined to deploy it on my own servers :-/ )
iang
2006 Sep 12
2
rsync through ssh - i get an error
On Mon, Sep 11, 2006 at 01:31:00PM +0200, rsync-mail-gateway@nasbackup.com wrote:
> rsync: read error: Connection reset by peer (104)
This means the socket closed. Does rsync even get started on the remote
system? That would be the first thing to investigate. If it is getting
run, does the remote process crash or die? If you are connecting with a
daemon process, you can look at the logs to
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.