10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
rsync with --delete won't honor the delete if the source is something/*. I want the delete to work, but not to delete directories on the target that are peer to the intended directory. For example, using these source and target file structures:
Source on desktop:
~/
Money/
... (4 Replies)
Discussion started by: JavaMeister
4 Replies
2. Shell Programming and Scripting
Dear all,
I am synchronizing some files on 2 hosts.
host2 is a backup server of host1, but can have some more up to date files.
I use on host2:
rsync -auv usrer@host1:/Source_Dir Dest_DirOption -u (update) will copy and replace the newest files from host2 to host1.
Before this is done I... (1 Reply)
Discussion started by: freddie50
1 Replies
3. Shell Programming and Scripting
I have tried doing this to delete some lines: sed '1,10d' file
Now I want to specify a variable as a line number for example:
lastline=wc -l file
linestart=$lastline - 20
sed '$linestart,$lastlined' file
but this will give error: sed: -e expression #1, char 3: extra characters after... (4 Replies)
Discussion started by: zorrox
4 Replies
4. Shell Programming and Scripting
Hi
I would like to ask if rsync has an option of backing up the new or updated files on different destination dir( only the new or updated files will be copied to the a different dir) just like option --backup-dir but this is for backup files.
Thanks for any response. (1 Reply)
Discussion started by: jao_madn
1 Replies
5. Fedora
When I try to back up my libraries with
rsync -azv --delete -e ssh /home/sarah/ saga:/home/sarah/bupembladaily/
I get error message
rsync: readlink_stat("/home/sarah/.gvfs") failed: Permission denied (13)
FATAL I/O ERROR: dying to avoid a --delete-during issue with a pre-3.0.7 receiver.... (7 Replies)
Discussion started by: sarahslagstedt
7 Replies
6. Shell Programming and Scripting
Hi there
Does anybody know of a way that i can, instead of issuing a --delete when syncing one directory to another, I can instead somehow receive a list of what would be deleted, but not actually delete it ?
basically, people are occasionally putting files into one of synced folders, but... (2 Replies)
Discussion started by: rethink
2 Replies
7. Shell Programming and Scripting
Hi Frdz,
i am using rsync to transfer files from source to destination. but i have one criteria like i have to tranfer only links from source to destination.
in home/test/po folder i have
kiran/test1 -> /home/test/lo/fg
kiran/test2 -> /home/test/lo/fg2
like links are available.... (1 Reply)
Discussion started by: KiranKumarKarre
1 Replies
8. Shell Programming and Scripting
There might be an easy solution to my problem, or maybe not, but here it is.
I am trying to rsync a Volume with 1.5 terabytes of data and send it via fibre channel to a raid array. Now normally when I rsync it scans through everything and, before copying anything, deletes any files that have... (1 Reply)
Discussion started by: Movomito
1 Replies
9. UNIX for Dummies Questions & Answers
Tell me this - set me straight!
The --delete option says "delete files that don't exist on the sending side"
Does this mean and only mean that it will delete files from the DESTINATION that DON'T EXIST on the sending side? :confused: (1 Reply)
Discussion started by: sallender
1 Replies
10. UNIX for Advanced & Expert Users
Tell me this - set me straight!
the --delete option says "delete files that don't exist on the sending side"
Does this mean and only mean that it will delete files from the DESTINATION that DON'T EXIST on the sending side? :confused: (2 Replies)
Discussion started by: sallender
2 Replies