search for: localdir

Displaying 20 results from an estimated 43 matches for "localdir".

2015 Feb 02
1
Re: [PATCH 5/6] New APIs: copy-in and copy-out
...^ You don't need the / here. > +(which must exist). > + > +Wildcards cannot be used." }; > + > + { defaults with > + name = "copy_out"; > + style = RErr, [Pathname "remotepath"; String "localdir"], []; > + visibility = VPublicNoFish; > + shortdesc = "copy remote files or directories out of an image"; > + longdesc = "\ > +C<guestfs_copy_out> copies remote files or directories recursively > +out of the disk image, placing them on the host dis...
2015 Jan 26
0
[PATCH 5/6] New APIs: copy-in and copy-out
...s local files or directories recursively into +the disk image, placing them in the directory called C</remotedir> +(which must exist). + +Wildcards cannot be used." }; + + { defaults with + name = "copy_out"; + style = RErr, [Pathname "remotepath"; String "localdir"], []; + visibility = VPublicNoFish; + shortdesc = "copy remote files or directories out of an image"; + longdesc = "\ +C<guestfs_copy_out> copies remote files or directories recursively +out of the disk image, placing them on the host disk in a local +directory c...
2015 Jan 26
6
[PATCH 1/6] cmd: add a way to run (and wait) asynchronously commands
--- src/command.c | 64 +++++++++++++++++++++++++++++++++++++++++++------- src/guestfs-internal.h | 3 +++ 2 files changed, 58 insertions(+), 9 deletions(-) diff --git a/src/command.c b/src/command.c index 4bb469b..e26573d 100644 --- a/src/command.c +++ b/src/command.c @@ -360,7 +360,7 @@ debug_command (struct command *cmd) } static int -run_command (struct command *cmd)
2012 Oct 17
2
Rsync - include only files containing matching string
...g? I've read the man page and googled around but can't seem to get the syntax right. I either end up syncing all the files, or none of them. Here's how the code looks now (I will remove the dry run once it is working): rsync -avz --dry-run --include=*$YESTERDAY* remotehost:remotedir/ localdir/transfer/
2017 Feb 15
1
[PATCH v2] copy-out: new optional arguments
...rator/actions.ml index 990eacb..9015a1a 100644 --- a/generator/actions.ml +++ b/generator/actions.ml @@ -3437,8 +3437,9 @@ Wildcards cannot be used." }; { defaults with name = "copy_out"; added = (1, 29, 24); - style = RErr, [Pathname "remotepath"; String "localdir"], []; + style = RErr, [Pathname "remotepath"; String "localdir"], [OBool "numericowner"; OStringList "excludes"; OBool "xattrs"; OBool "selinux"; OBool "acls"]; visibility = VPublicNoFish; + once_had_no_optargs =...
2017 Feb 14
0
[PATCH 06/10] copy-out: new 'excludes' optional argument
...rator/actions.ml index 990eacb..fd6cc9f 100644 --- a/generator/actions.ml +++ b/generator/actions.ml @@ -3437,8 +3437,9 @@ Wildcards cannot be used." }; { defaults with name = "copy_out"; added = (1, 29, 24); - style = RErr, [Pathname "remotepath"; String "localdir"], []; + style = RErr, [Pathname "remotepath"; String "localdir"], [OStringList "excludes"]; visibility = VPublicNoFish; + once_had_no_optargs = true; shortdesc = "copy remote files or directories out of an image"; longdesc = "\...
2017 Feb 14
1
Re: [PATCH 06/10] copy-out: new 'excludes' optional argument
...cc9f 100644 > --- a/generator/actions.ml > +++ b/generator/actions.ml > @@ -3437,8 +3437,9 @@ Wildcards cannot be used." }; > > { defaults with > name = "copy_out"; added = (1, 29, 24); > - style = RErr, [Pathname "remotepath"; String "localdir"], []; > + style = RErr, [Pathname "remotepath"; String "localdir"], [OStringList "excludes"]; This change seems reasonable. Should we: (1) Bind other tar-out parameters? It looks as if numericowner, xattrs, selinux and acls would all be candidates. (2)...
2015 Feb 02
8
[PATCH 0/7 v2] Make copy_in & copy_out APIs, and use copy_in in customize
Hi, attached there is the second version of the patch series adding copy_in and copy_out in the library, mostly moving them from guestfish. It also adds the copy_in usage in virt-customize, as aid in a new image building. Thanks, Pino Toscano (7): cmd: add a way to run (and wait) asynchronously commands cmd: add a child-setup callback cmd: add the possibility to get a fd to the process
2001 Oct 18
2
problems between different versions of rsync
Are there issues between different versions of rsync? Specifically I have a 2.4.6 on solaris 8 pushing to a 2.3.0 on solaris 2.6 over ssh(F-Secure version). The issue that I am seeing is that when I use the following command: rsync --delete -rlvp -e ssh2 $localdir user@host:remotedir The user and group are different on both boxes(neither being root). Any help would be appreciated. --Jeff -- Jeff Beley Internet Services
2002 Jun 06
1
rsync synchronizes VERY slow
hi, I have an 20G archive of pic files which would have to be mirrored onto another server. It contains large JPEGs, around 10k files, one of the servers is located in Boston, the another is in Budapest, Hungary. I use rsync rsync://remote_box/remotedir localdir/ -zcvr --progress --size-only The issue is that the remote server sends the filelist very slow. Looking into the rsyncd process with strace shows that rsync reads all the files from byte to byte, and after receiving the filelist, rsync client does the same. The aim would be sync depending only on...
2003 Jan 18
1
Finished storage compression patch for rsync
...How does this work? Just add a "-Z" option to your common rsync commandline parameters. The destination files will be stored in a compressed way (by using a hardwired call of gzip). This works in both directions: rsync -Z -av mydir user@remote:/dir and rsync -Z -av user@remote:/dir localdir The remote:/dir and localdir will keep the files compressed. If you want to compress or decompress any local directory, add a link to the rsync exe file: ln -s rsync rscompress and ln -s rsync rsuncompress With "rscompress" you can compress a local directory (e.g. if you want to us...
2003 Sep 03
1
Solaris Gigabit Performance tweaking
...me ISAM databases and am having some performance problems. We are using gigabit interfaces between two V280R servers and I am trying to push the tree with the following options. usr/local/bin/rsync --quiet --recursive --times --perms --links --delete-excluded --password-file=/mydir/.rsync_password /localdir/* rsync://user@server2/remotemodule/ I only get wrote 11762339 bytes read 2527963 bytes 82364.85 bytes/sec total size is 6479930905 speedup is 453.45 Is there a way (without using ssh) that I can improve performance? compression did not seem to help. thanks d
2004 Feb 20
1
Log formatting: quoting format option flags in Perl
...he options quoted in the command, and the log is unreadably compressed if I leave off the quotes. I've tried qq//, escaped \", escaped \', and many other ways of escaping quotes. Any suggestions? Full rsync string: rsync -Cclrtvzn --log-format="%h %a %l %o %f %t %u %c" /localdir user@server:/remotedir Many thanks, Shifra -- Shifra Raffel Programmer/Analyst California Digital Library University of California Office of the President Oakland, CA Shifra.Raffel@ucop.edu
2007 Jan 07
1
how to rename remote directory using rsyncd
...ries then hold copies of only the updated and deleted files. The steps I use are: 1) look for the most recent snapshot directory and save the name (2007-01-06). 2) rename it to the current date (2007-01-07). 3) on the client, run "rsync -rt --delete-during --backup --backup-dir=2007-01-06 localdir server::2007-01-07". I can do the rename by running rsync through SSH as: "rsync --rsync-path='mv 2007-01-06 2007-01-07 && rsync' server:2007-01-07", but I would prefer not to have to install SSH and user accounts on the server.
2004 Jan 15
1
Ownership lost: linux -> windows -> linux
...d file = rsyncd.pid [myalias] path = /cygdrive/c/cwrsync/data/mydir read only = false transfer logging = yes ------- end of rsyncd.conf On linux I'm using rsync 2.5.6, launching it with this syntax: /usr/local/bin/rsync -a -v -c --progress --stats rsync://<IPADDRESS>/<ALIAS> <LOCALDIR> Thank you for any help. -- Pier Paolo Glave __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus
2008 Apr 12
1
Incorrect Total File Size
Greetings, I am rsync'ing a file approximately 30-50MB in size. The source file changes several times a day. rsync is launched on the destination host every 1-2 minutes using the following command: /usr/bin/rsync --stats --verbose --bwlimit=16 --delete -Cavz ${hostname}::grids ${localdir} Since the file only changes several times a day, most of the rsync commands do nothing. Most of the time when the source file changes, rsync pulls the source file over just fine. Occasionally rsync will "think" it needs to update the destination file when in reality the source file ha...
2001 Oct 18
1
rsync logging and permission problems
...is currently running 2.4.6-1 and the remote 2.3.2-1.2. 1) When I run rsync with the vv option, stuff scrolls of my screen faster than I can read it. I was wondering if there is a logging option I could use. I didn't see it in the documentation. I can use something like "rsync -avvz -e ssh localdir/ remotemachine:remotedir/ 2>&1 | less" to look at the output, piping both standard output and standard error to less. However, I'm puzzled why lines like "Mail/190 is uptodate" are sent to standard error. Surely they should be sent to standard output? 2) I am trying to co...
2010 Feb 13
3
ocfs2 compile error in x86_64
...4.1/../../../../lib/libcom_err.a(error_message.o): In function `et_list_lock': /sources/e2fsprogs-1.41.9/build/lib/et/../../../lib/et/error_message.c:85: undefined reference to `sem_wait' collect2: ld returned 1 exit status make[1]: *** [fsck.ocfs2] Error 1 make[1]: Leaving directory `/root/localdir/fsck.ocfs2' make: *** [fsck.ocfs2] Error 2 -------------------------------------------------------------------------------------------------------------------------- Anyone have any Idea? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://oss.oracle.com/piper...
2010 Feb 13
3
ocfs2 compile error in x86_64
...4.1/../../../../lib/libcom_err.a(error_message.o): In function `et_list_lock': /sources/e2fsprogs-1.41.9/build/lib/et/../../../lib/et/error_message.c:85: undefined reference to `sem_wait' collect2: ld returned 1 exit status make[1]: *** [fsck.ocfs2] Error 1 make[1]: Leaving directory `/root/localdir/fsck.ocfs2' make: *** [fsck.ocfs2] Error 2 -------------------------------------------------------------------------------------------------------------------------- Anyone have any Idea? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://oss.oracle.com/piper...
2013 Sep 04
2
issues syncing between one host and another
I have the following script that I am working on #!/bin/bash date=$(date +%F--%T) #ssh parameters user=aquj001 remotehost=qa4app localdir=/home/aquj001/INFENG/scripts remotedir=/home/aquj001/recievingDir.$date linkdest=$(ssh $user@$remotehost /usr/linux/bin/readlink/ /home/aquj001/recievingDir.current) rsync -a --compress --link-dest=$linkdest --out-format='%i %n%L %l %M' --omit-dir-times "$localdir" "$user...