Sponsored Content
Full Discussion: rsync
Operating Systems Linux SuSE rsync Post 302529181 by giessenw on Wednesday 8th of June 2011 05:51:25 PM
Old 06-08-2011
The Utils directory is not but was created by rsync in the same session. That is the base of the problem. The wget is at the time of this error being created. I understand why that does not work but not why the Utils directory is created with this Directory flag bit only
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

rsync

I want to do rsync only for the difference in the last 30 days. How do I specify the "30 days" on the command line below? >rsync -avz prj# /rsource /destination Thanks for help (6 Replies)
Discussion started by: wz253
6 Replies

2. UNIX for Advanced & Expert Users

Rsync

I have to update my files to 2-4 servers and I tar all the files and ftp to every server. I have heard about Rsync, but are there any other ways that are the same as Rsync?> (1 Reply)
Discussion started by: darknite87
1 Replies

3. UNIX for Dummies Questions & Answers

rsync vs cp

Hi guys, I will be copying data from one FS to another. (only once) These are local Filesystems... Which tool would be more efficient to use in this case? There is a huge amount of data that needs to be copied... (1.5TB) John (1 Reply)
Discussion started by: jsy
1 Replies

4. Solaris

please help in rsync

Dear all, I m trying to rsync a file remotely but it is throwing following error. #/opt/sfw/bin/rsync -v -a -e ssh user@xx.xx.xx.xx:/export/home/naresh/utils.sh bash: rsync: command not found rsync: connection unexpectedly closed (0 bytes read so far) rsync error: error in... (10 Replies)
Discussion started by: naree
10 Replies

5. UNIX for Dummies Questions & Answers

rsync

i last night i copied a 400GB folder using rsync and ssh i did: rsync -r /mnt/500_GB ssh miguel@192.168.1.3:/mnt/1500_GB and it copied the folder fine all 400GB. The question is: If i put more files to that initial 400GB folder, which command can i run on my server for it to update the... (4 Replies)
Discussion started by: supermiguel
4 Replies

6. Shell Programming and Scripting

rsync

hi there I wonder if some-one can help. I am trying to use rsync on my mac to transfer a folder to a remote machine. I have logged into rysnc on my mac no problem and I'm trying to execute this command: rsync -a -e ssh /Users/myname/myfolder/sourcefolder/... (3 Replies)
Discussion started by: volterony
3 Replies

7. Shell Programming and Scripting

rsync

Am I correct in assuming that the following command: rsync -a /a /b does not make any changes on /a if there are files on /b that are newer (2 Replies)
Discussion started by: jgt
2 Replies

8. UNIX for Dummies Questions & Answers

rsync

Hi all, I'm new to the rsync world in hpux. Currently I have rsync going through the main public lan, but dude to traffic loads, I have been told that i need to use a dedicated rsync lan. I currently have 4 spare nics and the plan was to use one of these for the rsync, but I can't figure out... (2 Replies)
Discussion started by: linuxwanabe
2 Replies

9. Shell Programming and Scripting

Rsync Error: rsync: link_stat failed: No such file or directory (2)

I wish to copy all the files & folder under /web/Transfer_Files/data/ on mymac1 (Linux) to remote server mybank.intra.com (Solaris 10) /tmp/ location I am using Ansible tool synchronize module which triggers the unix rsync command as below:rsync --delay-updates -F --compress --archive --rsh=ssh... (2 Replies)
Discussion started by: mohtashims
2 Replies
INN::Utils::Shlock(3pm) 				    InterNetNews Documentation					   INN::Utils::Shlock(3pm)

NAME
INN::Utils::Shlock - Wrapper around the shlock program DESCRIPTION
This Perl module wraps the shlock(1) program so that it can easily be used. Calling shlock is more portable than using flock(2) and its corresponding Perl function because this function does not work as expected on all existing systems. See the shlock(1) documentation for more information. Using INN::Utils::Shlock is straight-forward: use lib '<pathnews>/lib/perl'; use INN::Utils::Shlock; my $lockfile = "myprogram.LOCK"; # Acquire a lock. INN::Utils::Shlock::lock($lockfile); # Do whatever you want. The lock prevents concurrent accesses. # Unlock. INN::Utils::Shlock::unlock($lockfile); These two functions return 1 on success, 0 on failure. For example, the success of (un)locking can be checked as: INN::Utils::Shlock::lock($lockfile) or die "cannot create lock file"; or: if (! INN::Utils::Shlock::lock($lockfile, 4)) { die "giving up after 4 unsuccessful attempts to create lock file"; } Instead of calling "unlock(lockfile)", the "releaselocks()" function can be called. It removes any leftover locks, which is useful when several different locks are used. Another possible use is to call it in an END code block: END { # In case we bail out, while holding a lock. INN::Utils::Shlock::releaselocks(); } INTERFACE
lock(lockfile) Tries to create a lock file named lockfile. This function returns 1 on success, 0 on failure. lock(lockfile, tries) Tries to create a lock file named lockfile. If it fails, locking attempts are repeated once every 2 seconds for at most tries times (including the first unsuccessful attempt). This function returns 1 on success, 0 on failure. lock(lockfile, tries, delay) Tries to create a lock file named lockfile. If it fails, locking attempts are repeated once every delay seconds for at most tries times (including the first unsuccessful attempt). Note that "lock(lockfile)" is equivalent to "lock(lockfile, 1, 2)". This function returns 1 on success, 0 on failure. releaselocks() Removes all the lock files previously created by calling the "lock(lockfile)" function. This function returns the number of removed lock files. unlock(lockfile) Removes the file named lockfile. This function returns 1 on success, 0 on failure. HISTORY
Documentation written by Julien Elie for InterNetNews. $Id: Shlock.pm.in 9409 2012-05-28 18:43:20Z iulius $ SEE ALSO
perl(1), shlock(1). INN 2.5.3 2012-06-15 INN::Utils::Shlock(3pm)
All times are GMT -4. The time now is 04:40 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy