Sponsored Content
Full Discussion: rsync a single file
Top Forums Shell Programming and Scripting rsync a single file Post 302464132 by DGPickett on Tuesday 19th of October 2010 10:57:37 AM
Old 10-19-2010
Well, the man says path is a dir. You could rsync the parent dir and set the filter to exclude all others or include only this file.

rsyncd.conf(5) - Linux man page

Another possibility is to work around it by putting the flat file alone in a new dir, and sym-link or link it to be acessible from the original path. Just note that a sym-link imposes a slight cost at open. While rsync of any kind of link may have various problems and restrictions, it will certainly work if both ends are single linked flat files in the new dir, and the original path has a sym-link to it. Whether the apps on both ends are happy opening the sym-links in orignal paths is an additional question.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Rsync file list

Hello, I'm trying to utilize rsync to backup 7 gigs of approximately 10,000 files, from what I've read this should be no sweat. However subsequent syncs seem to build an entirely new file list and the process takes a great deal of time. Reading the man page I'm not sure if I need to specify a file... (3 Replies)
Discussion started by: hexaplus
3 Replies

2. Shell Programming and Scripting

single quote problem with rsync

Hi everybody, I'm a newbie and hope that someone help me in this problem. I have a filename in LINUX with single quote like this: abs@hosttest:~/ABS/BETY/cygdrive/C/DECLARANOT 1.1.4/02 - ROCK/052 - GUNSROSES> dir You* -rw-r--r-- 1 abs users 2365881 2008-08-25 09:16 You're Crazy.mp3 ... (9 Replies)
Discussion started by: mr_boysito
9 Replies

3. UNIX for Advanced & Expert Users

rsync with particular file pattern

I'd like to rsync any files that end with 'rpt' under source dir called 'opt', and here is the command i tried: rsync -avz --include='*.rpt' --exclude='*' /opt /tmp -n but the list returned is a complete listing under opt. can anyone help out please? (2 Replies)
Discussion started by: jw_712
2 Replies

4. Shell Programming and Scripting

rsync - update file on backup when file renamed on source

hi all, Please help me with rsync. I configured rsync to preserve timestamps using the -a option. When i renamed fileA to fileB on source machine I have to copies at the backup server. The aim is to keep the most recent file. fileA & fileB has same contents. When i renamed fileB to... (2 Replies)
Discussion started by: coolatt
2 Replies

5. Shell Programming and Scripting

unzip single file and untar single file

Dear friends, My requirement below- 1] I have a zip file on unix server - ETL_Extracts_20100218175009.zip which is composed of various entity extracts namely... ENTITY1.txt, ENTITY2.txt, ENTITY3.txt etc.... How do I unzip only a single file ..say ENTITY2.txt from this zip file. CAn you... (2 Replies)
Discussion started by: sureshg_sampat
2 Replies

6. Shell Programming and Scripting

rsync multiple directories into single directory on remote

I would like to find and backup all *.mp4 files from /Pictures and its sub-directories and move them to a single directory on a remote. I can find and move the files but I don't want the directory structure...just the files to be placed in a single remote directory. To find my files I use ... (1 Reply)
Discussion started by: wreckedred
1 Replies

7. Shell Programming and Scripting

rsync delete single file from the target folder

Hi We want to delete a single file from the destiantion directory using rsync. Is it possible to do this ? or Do we have any alternate approaches in rsync( for ex applying some filters ..etc) For ex: ----------------------------------------------- Source (Folder) ... (3 Replies)
Discussion started by: MVEERA
3 Replies

8. Shell Programming and Scripting

Paste 2 single column files to a single file

Hi, I have 2 csv/txt files with single columns. I am trying to merge them using paste, but its not working.. output3.csv: flowerbomb everlon-jewelry sofft steve-madden dolce-gabbana-watchoutput2.csv: http://www1.abc.com/cms/slp/2/Flowerbomb http://www1.abc.com/cms/slp/2/Everlon-Jewelry... (5 Replies)
Discussion started by: ajayakunuri
5 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

10. Shell Programming and Scripting

Copy local files to single remote host but multiple folders using rsync

I'm trying to copy a file myfile.scr from my local Linux server to multiple folders on remote AiX server using single rsync command. Below command helps me copy the file "myfile.scr" from my localhost to a remote host folder "/app/deployment/tmpfiles" rsync --delay-updates -F --compress... (1 Reply)
Discussion started by: mohtashims
1 Replies
ED2K(1) 							  aMule utilities							   ED2K(1)

NAME
ed2k - aMule eD2k link parser SYNOPSIS
ed2k [-c <path>] [-t <num>] [-e] [-l] <eD2k-link> ed2k [-h] ed2k [-v] DESCRIPTION
Sends the given <eD2k-link> to aMule, i.e. writes it to the file ~/.aMule/ED2KLinks, which will be checked by aMule every second for links. [ -c <path>, --config-dir=<path> ] Read config from <path> instead of home [ -t, --category=<num> ] Set category for passed eD2k links to <num> [ -e, --emulecollection ] Loads all link found in the emulecollection given as <ed2k-link> [ -l, --list ] Lists all link found in the emulecollection given as <ed2k-link> [ -h, --help ] Prints a short usage description. [ -v, --version ] Displays the current version number. [ eD2k-link ] Adds an eD2k-link to the core. The eD2k link to be added can be: o a file link (ed2k://|file|...), it will be added to the download queue; o a server link (ed2k://|server|...), it will be added to the server list; o a serverlist link, in which case all servers in the list will be added to the server list; o a magnet link; o an emulecollection file. The order in which you give the parameters is important. You can give more than one link, and every link can have it's own params. For example ed2k <link1> -t2 <link2> will download <link1> in standard category and <link2> in category 2. FILES
~/.aMule/ED2KLinks REPORTING BUGS
Please report bugs either on our forum (http://forum.amule.org/), or in our bugtracker (http://bugs.amule.org/). Please do not report bugs in e-mail, neither to our mailing list nor directly to any team member. COPYRIGHT
aMule and all of its related utilities are distributed under the GNU General Public License. SEE ALSO
amule(1) AUTHOR
This manpage was written by Vollstrecker <amule@vollstreckernet.de> aMule eD2k link parser v1.5.1 November 2011 ED2K(1)
All times are GMT -4. The time now is 01:37 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy