The tag has no wiki summary.

learn more… | top users | synonyms (1)

3
votes
2answers
18 views

How to configure Unison for real peer-to-peer?

I have a handful of devices, and am considering keeping them in sync with Unison. The devices are not running all the time, they are switched off a few hours per day, not necessarily at the same ...
3
votes
2answers
48 views

Can I safely read a file that is appended to by another process?

If process A copies files to some location loc and process B regularly copies the files from loc to some other location, can B read a file that is currently in the process of being copied to loc by A? ...
1
vote
1answer
29 views

s3cmd: how to use exclude-from with a file list of excluded directories

I cannot seem to get the --exclude-from= option to work with my exclude GLOB file when synchronizing with my s3 bucket. Here is a trivial example to demonstrate: I create the following file tree ...
2
votes
3answers
73 views

how to synchronize two directory?

I want to using crontab to synchronize two directory between my linux partion and windows partion like this: 24 9 * * * cp -r /home/fan/Data /media/T/Data But it would create a directory named ...
3
votes
0answers
72 views

How can I share a thunderbird profile between two computers?

I have two computer which run both debian sid. My problem is that I want to synchronize thunderbird(+lightning) (contacts+calendar+email) (icedove(+iceowl) in Debian) contents between these two ...
3
votes
1answer
101 views

Best way to sync files - copy only EXISTING files and only if NEWER than target

I'm doing this sync locally on Ubuntu 12.04. The files are generally small text files (code). I want to copy (preserving mtime stamp) from source directory to target but I only want to copy if the ...
0
votes
1answer
37 views

Is there any issue if I kill sync() process before it finished

On panic situation, I want to set timeout for sync() system call. In the case this timeout value is passed, I want to kill sync process and reboot the system. I wonder if there is any issue with that ...
3
votes
2answers
139 views

Wait for move directory to be completed before attempting to delete it

I have a process running on one computer that spawns simulations by writing the simulation data to directory pre/id. Worker processes then copy a simulation from pre to a local disk, which can be on a ...
0
votes
1answer
69 views

Sync Linux between two computers [duplicate]

I have Mint Linux installed on my Computer at home, on my Laptop and on a bootable USB3 stick. I would like these three systems to be completely identical when I get home. For example: I work on my ...
3
votes
1answer
72 views

Program for two-way synchronization of big files (VM disk images)

I heavily use virtual machines in my work and I need an efficient way of synchronizing them between my PCs. I know of bigsync, but this program works well only for one-way synchronizing (like ...
5
votes
2answers
51 views

What is the best way to synchronize files to a VFAT partition?

POSIX filenames may contain all characters except /, but some filesystems reserve characters like ?<>\\:*|". Using pax, I can copy files while replacing these reserved characters: $ pax -rw -s ...
0
votes
1answer
53 views

raid1: how to synchronize harddisks (Debian 6)

My system is Linux/Debian 6, using GPT (GUID Partition Table). If I run the command cat /proc/mdstat I see the following situation: Personalities : [raid0] [raid1] [raid6] [raid5] [raid4] ...
2
votes
0answers
61 views

Libav: Find out the exact time that the first frame coming from an RTSP stream was dumped into a file

I am dumping an RSTP stream from a web camera into a file using avconv: avconv -f rtsp -rtsp_transport tcp -i rtsp://user@password/ 192.168.1.4/stream.cgi -t 100 -c:v libx264 -s 1024x768 -an ...
2
votes
2answers
47 views

Replace all files except one with rsync

I'm currently using rsync as follows rsync -az --delete ... What option can I use with rsync to replace all destination files that already exist except for one specific file that should not be ...
5
votes
3answers
70 views

Rsync that handles moves sensibly

I've been successfully using rsync to synchronize my home directories between my laptop and my netbook (both using ext4 with Linux). My only problem with it is that every now and then I like to ...
2
votes
1answer
74 views

Chrony 506 Cannot talk to daemon

I'm having trouble configuring chrony to sync the time between my raspberry pi and a desktop computer in an isolated network. My raspberry pi's chrony.config file looks like this: server master ...
1
vote
1answer
60 views

Portable bootable installation of Ubuntu, synchronized with my main computer

I have a difficult problem that I'm trying to solve. Currently, I am using Mac OSX and I want to create a full Ubuntu partition on my home computer; this is fine. I'm currently doing a lot of ...
2
votes
2answers
97 views

How to have a chroot system mount shared with its host?

Say I chrooted into ~/myroot with its /mnt being bind-mounted from the host's /mnt. Now (from within the chroot environment) I want to e.g. mount /dev/something /mnt/something such that not only the ...
2
votes
3answers
229 views

Monitor via SSH and execute local script upon change detection

I have an environment where I can SSH into a Linux machine via Cygwin, but not the other way around due to a security policy out of my control. I need to automate tasks on the Windows machine but ...
0
votes
1answer
109 views

Periodically sync local folders using rsync (no symlinks!)

I am using Dropbox to have an online backup of some data. However I want to encrypt my data before uploading it to Dropbox. Therefore I have created a TrueCrypt container and I am using rsync to ...
8
votes
3answers
246 views

rsync most recent x GB

I'm looking for a command/script to allow the most recently modified files (up to) 10GB be copied to another computer. So if there are 4 files 4 GB each, only 2 of them should be transferred by the ...
0
votes
1answer
80 views

Get a clean list of files transferred from rsync

I'm trying to get an itemized list of files transferred by rsync. Using the -i and --out-format options, I'm instead ending up with output that looks like this: 3HMP1MO_001.tif 974.68K 100% ...
3
votes
1answer
161 views

Periodic filesystem replication wih snapshot

I'm looking for a non-realtime replication solution that supports periodic snapshot. Here's my current situation: I have 2 email servers running Ubuntu 12.04 LTS The mail server program I use is ...
0
votes
1answer
250 views

Does sync command remove the dirty cache in the memory?

I am aware that sync command flushes the dirty cache into disk. I have run free command first, then sync, and then free again. The result of latter free command shows more free memory available than ...
2
votes
2answers
80 views

How to automatically apply changes in a folder to another?

Running Ubuntu 12.04, I work software "production" on certain folders and then I usually copy files I make up to another paths where I do the "deployment". For example, sometimes I produce some files ...
0
votes
0answers
65 views

How to reuse .Mozilla folder for keeping my config in LinuxMint Debian Edition 201303

I installed LinuxMint Debian Edition 201204. I like keep my Firefox's tabs unclosed when I reopen my Firefox will keep all tabs there. Now I reinstall LinuxMint Debian Edition 201303. I copy ...
3
votes
1answer
3k views

Move files and delete directories with rsync?

Recently I needed to delete a large number of files (over 1 million) and I read that doing: rsync -av --delete `mktemp -d`/ ~/source && rmdir ~/source Was one of the most optimized ways to ...
1
vote
2answers
524 views

How do I kill 'repo sync' using crontab given it spawns many processes?

I need to 'repo sync' the Android source overnight, as my monthly bandwidth is limited. , I start the 'repo sync' at midnight, then want to kill it at 8am. The following is the command: 2 0 * * * ...
4
votes
2answers
222 views

Two-way rsync results in oscillating content

I am trying to sync content between two servers. The servers are identical builds (Ubuntu 12.04LTS) and have this cron job running to sync the content: rsync -arzc --update --delete ...
2
votes
1answer
214 views

Syncronising Calendar and Contacts between Thunberbird and Android using Linux Software

I am looking for software to sync my Calendar and my Contacts between Thunderbird, my Android phones and probably other clients like KDEs Kalendar and Kontacts. I want to have both parts available ...
0
votes
2answers
3k views

How to auto-sync with a plugged-in USB mass storage device?

I have (at the moment) three mobile USB mass storage devices (flash drive, phone, e-reader). I'd like to always have the latest versions of all my files with me (such as CV, passport, research papers, ...
2
votes
2answers
338 views

How does mdraid resync work?

I have two drives in a mirror (linux sw raid/mdadm); one drive somehow left the mirror in the past and its content is now several days old. At this moment, I'm using degraded mirror (with one drive ...
3
votes
4answers
391 views

Most Efficient way to back up/sync large directories over SSH

I'm looking to back up some large directories on a Dedicated Server to another Server on a daily basis using minimal bandwidth RSync looks like its up to the task but I'm unsure of the best command ...
4
votes
2answers
199 views

How can I synchronize processes started in different TMUX panes?

Consider this: tmux split-window -d program1 program2 # this program depends on some side effects produced by program1 In this case, program2 will start before program1 is ready. program1 will send ...
8
votes
4answers
3k views

Note taking app that can sync both android and Linux

I've been looking high and low for an Evernote alternative for Linux. I know I can use Everpad or Evernote in WINE but they don't work natively. Any note-taking app would be fine as long as it can ...
2
votes
0answers
294 views

Best way to download dropbox folders to raspberry Pi

I'm trying to sync some folders to raspberry Pi. For now, I have a script that gets the dropbox folders using curl that runs every so often using cron (once every hour for most of the folders). I'm ...
4
votes
2answers
741 views

Syncing multiple home folders with dropbox and symlinks

To keep multiple computers synced with dropbox I tried the following. Approach A. -Computer 1: Install dropbox, dropbox folder: /Dropbox/ -Computer 1: Create symbolic link in that folder to home ...
7
votes
2answers
2k views

Why can an unpriviliged user execute the `sync` command?

Currently on Ubuntu Linux, but I noticed this on other OS's too. Apparently any user can execute the sync command, but why is this? I can only see the disadvantage: system slow down due to unnecessary ...
5
votes
1answer
2k views

Rsync — Itemized List of Changes

I've learned that with the -i option, I can get rsync to list all the changes it makes. I've been using it along with the -n or --dry-run options so that I can always learn about all expected changes ...
1
vote
2answers
391 views

Synchronize the files from One folder of a Server to other

I need a script in which Files of One server will be copied to other folder of another server ONLY AND ONLY IF the file on SOURCE SERVER file doesn't exist on DESTINATION SERVER. Further Detail ...
2
votes
2answers
271 views

syncing two maildirs

I have a server that I use to frequently get email from Google using offlineimap. the email is stored in a maildir format on this server. What tool can I use to sync this maildir with the local ...
2
votes
3answers
1k views

rsync list of files in sub-directories to remote server and delete extraneous

I haven't been able to find the answer to this one. I have tried all kinds of combinations of --include, --exclude, -r, --delete-excluded, and source directory. This is what I'm trying to accomplish: ...
0
votes
1answer
573 views

Music management software that sync playlists onto Android device

I am trying to find a music management software that can sync playlists onto my Android phone running Cyanogenmod 9. BTW, this handset does not have an Internet connection. Specifically, I want the ...
1
vote
1answer
167 views

rsync hardlink attempt copies

I've tried setting up a script to hardlink my files to my box.com account (as it's a backup of my music library). As I want to run it automatically to sync my music across several devices, I wanted to ...
3
votes
3answers
410 views

Backup and synchronization

I want to synchronize my personal document repository between my different computers in my home. Today this folder is under a dedicated partition of the hard drive of a dual boot workstation. My ...
4
votes
2answers
621 views

How to use rsync with a remote remote host

I am a happy user of rsync -e ssh and use it to synchronize data between my machine and a remote host using rsync -avz -e ssh me@hostA:~/folder ~/folder And this did what I needed until now. I am ...
4
votes
3answers
199 views

anyway to fail/delay a cp process?

This is a hypothetical scenario. Say that I have a particular folder that is being synchronized by a process which is receiving a files/folders via the internet. Now while this operation is in ...
4
votes
3answers
1k views

What is a good tool to sync two computers

At home I've got a pc tower running arch linux. Recently I also acquired laptop for on the road, but I'd like to be working on the pc tower when I'm at home. Now I'm pretty sensitive as to how my ...
1
vote
1answer
569 views

Synchronize directory tree with deduplication?

I have two Linux servers that have a large amount of data (1TB+) that need to be synchronized over a slow connection (100 KB/s). A lot of the data overlaps, but are in different locations. I would ...
1
vote
1answer
249 views

Network Copy File With Low Overhead

We're trying to find a system to keep a pair of servers in sync, and I've looked at a million solutions. I came across incron, which seems like it would be perfect. Now, I just need a low overhead way ...