Sponsored Content
Full Discussion: Rsync, Unison or other?
Top Forums UNIX for Dummies Questions & Answers Rsync, Unison or other? Post 302092404 by siegfried on Monday 9th of October 2006 12:52:54 PM
Old 10-09-2006
Rsync, Unison or other?

My client is using perforce. Like CVS, perforce has the feature where you can create your own branch and check broken code into the branch with out breaking the main line build. When you finally get to a point that you are not going to break the build, you merge your branch with mainline.

Unfortunately, they are not using that branch feature here in that way. Maybe we should be but we are not.

The consequence is that I have been working on some files for a month and they are not getting backup up because they are in my perforce sandbox. They need to be checked in (for the purpose of being backed up) but cannot be because I'm not done with them yet (I don't want to break the build!).

I've never used rsync or unison before. Is there some utiltity or set of commands I can use to recursively descend my directory tree looking for files that are not set the "read only" and copy them and their directory paths to a directory that will be backed up?

It seems like the find command could do this, but I'm not sure how to recreate the directory path under some other directory. I would want to run this daily and only copy files that have changed and are read only.

thanks,
siegfried
 

8 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 Dummies Questions & Answers

rsync v. unison

I was reading the man page for rsync expecting it to talk about synchronization. It says it is like a rcp. I was expecting it to have something to do with synchronization. I was expecting rsync to only copy those files that are newer and it does not look like this is what it was designed to do.... (4 Replies)
Discussion started by: siegfried
4 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. 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

5. Shell Programming and Scripting

using rsync

I'm just trying to use rsync to retreive the file from different servers with script. i want to look for a file, if the file exists, then retreive the file from different servers, and put it in one file. I have the following command. rsync -v -e ssh jerry@openbsd.nixcraft.in:~/webroot.txt /tmp ... (5 Replies)
Discussion started by: s_linux
5 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

Need help on rsync

Hi experts, We need copy 5TB data from one server to another (over a 10Gbps link). We plan to use rsync -av remote:/<path /local on destination server but there're few special requirements like: 1. data copy process should run only from 18:00 Hrs to 07:00 every day until copy is completed. Is... (1 Reply)
Discussion started by: magnus29
1 Replies

8. 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
GBP-PULL(1)						      git-buildpackage Manual						       GBP-PULL(1)

NAME
gbp-pull - Safely update a repository from remote SYNOPSIS
gbp-pull [ --verbose ] [ --force ] [ --redo-pq ] [ --[no-]pristine-tar ] [ --debian-branch=branch_name ] [ --upstream-branch=branch_name ] [ --depth=depth ] DESCRIPTION
gbp-pull updates the debian, upstream and pristine-tar branches from a remote repository in one go. It checks if the update is safe (would result in a fast-forward merge) and aborts otherwise. OPTIONS
--force force a branch update even if this results in a non fast forward update. Warning: Forcing a branch updates makes you lose your modifications. --redo-pq also rebuild the corresponding patch-queue using gbp-pq. Warning: This drops the patch-queue branch if it exists. --debian-branch=branch_name The branch in the Git repository the Debian package is being developed on, default is master. --upstream-branch=branch_name The branch in the Git repository the upstream sources are put onto. Default is upstream. --depth=depth Git history depth, for deepening shallow git clones. --verbose -v verbose execution --pristine-tar Whether to update the pristine-tar branch too. EXIT CODES
When gbp-pull finishes it indicates success or failure with it's exit code: 0 Success. 1 An error occured during the pull, see the printed error message for details. 2 At least one branch couldn't be fast forwarded. CONFIGURATION FILES
Several gbp.conf files are parsed to set defaults for the above commandline arguments. See the [XRef to GBP.MAN.GBP.CONF] manpage for details. SEE ALSO
git-buildpackage(1), gbp-clone(1), gbp-pq(1), gbp.conf(5) AUTHOR
Guido Guenther <agx@sigxcpu.org> 01 June 2012 GBP-PULL(1)
All times are GMT -4. The time now is 05:18 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy