Tag Info

Hot answers tagged

3

There are a number of things that could be done here. Note that none of the actually use hard links since they can only point to a full file. Using the btrfs filesystem opens up some vary useful possibilities here. Note that btrfs is currently (most recent version is v3.13) still experimental. However, its COW (copy-on-write) ability is perfect for this kind ...


2

I have always used Unison in a star topology to synchronise my four machines. The reason for this is that it is not a versioning file system (like git for example), but rather a synchronisation tool. If you do opt for a distributed topology (which you will have to set by creating a configuration file for each device and synchronising all), you will ...


2

You can use a leading / to match only in the root of the transfer. Try this: rsync -avCz --delete-before --progress --exclude=/test/ /tmp/codebase/ . Here is the man page snippet for the leading /: if the pattern starts with a / then it is anchored to a particular spot in the hierarchy of files, otherwise it is matched against the end of the pathname. ...


1

rsync include/exclude/filter rules can be a pain to work with, but are ultimately very flexible. Here is one way to do what you want: rsync --include-from=- /xapp/parsX/parsapp/object/ dest_dir <<EOF - getbackdate*autosys.sh - parssendevent*.sh + *.sql + *.pl + *.sh - * EOF The --include-from makes rsync read the patterns from stdin, without this ...


1

Though it is not the best answer, I found something that works by adding the following to my exclude-list.txt file: *syncTest/excludeTest/* I found the answer here: http://sourceforge.net/p/s3tools/bugs/81/ It is not intuitive, and I think it is a bug. I do not think that rsync has this problem, and it is probably specific to s3cmd. Very annoying! I am ...



Only top voted, non community-wiki answers of a minimum length are eligible