The tag has no wiki summary.

learn more… | top users | synonyms (1)

4
votes
2answers
274 views

How To Synchronize Directories in two different external hard disks?

I have few big folders "cosmo_sim_9", "cosmo_sim_10".... in one of my external hard disk, and a old copy of this on another external hard disk. I want to Synchronize old directories with the new ...
1
vote
0answers
19 views

Linux realtime file sync [on hold]

My QNAP NAS running, I believe, a version of busybox has the ability to setup synchronization to an external drive. In the UI the user selects the folders that they wish to synchronism and then the ...
3
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: ...
2
votes
2answers
36 views

Preserve ownership with rsync and nonexistent user

I have two computers with the same user, me@Home and me@Work. I usually kept their folders synced by bringing Work home (it's a laptop) and rsyncing over LAN. However, now I'm not bringing Work home ...
0
votes
1answer
326 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 ...
3
votes
0answers
168 views

How can I share a thunderbird (icedove) profile, in real-time, between two computers?

I have two computers which both run Debian Sid. My problem is that I want to synchronize profile content between two computers both using thunderbird(+lightning) (contacts+calendar+email) ...
0
votes
2answers
438 views

How to install Firefox version 29.0 on Slackware 14.1?

The problem is that I need to sync Firefox bookmarks between my PC and my notebook, but the notebook uses the Firefox version 29.0 on Ubuntu 14.04 and the PC using Firefox version 24.4.0 on Slackware ...
2
votes
1answer
289 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
0answers
23 views

Why am I getting horizontal tearing no matter what graphics card/distro/compositor/monitor I use?

This is a problem that has haunted me for years, and as a remedy I originally resorted to just using my Windows 7 partition. I've been back to using Linux for a long time now and would like to ...
0
votes
2answers
4k 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, ...
3
votes
2answers
327 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 ...
3
votes
1answer
36 views

Configuration management, shared files, etc with a Laptop

I have a couple computers sitting around in my home network. They all run the same version of Ubuntu, and I would like to unify their configuration to some extent. At my university, you can log in to ...
14
votes
5answers
6k views

How can I do a “copy if changed” operation?

I would like to copy a set of files from directory A to directory B, with the caveat that if a file in directory A is identical to a file in directory B, that file should not be copied (and thus its ...
2
votes
1answer
126 views

Incremental file back up by date

Is there any backup tool that supports partial back up by date? What I mean is that I have some small drives such as on a laptop that can't hold a full copy of all the files on an external 2TB drive. ...
1
vote
1answer
212 views

How to sync terminal session command history in bash?

I've tried to search in ~/.bash_history for my recent commands while in a terminal session but they just weren't there. I guess this is because I have multiple terminal sessions open. Is there a way ...
5
votes
4answers
130 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 ...
0
votes
1answer
47 views

Dropbox on both Windows and Ubuntu 12.04.3 LTS

I have Dropbox installed on both Windows 7 and Ubuntu 12.04.3 LTS and there are two separate folders that are being synchronized so there is some waste of disk space. I would like to have only one ...
1
vote
0answers
101 views

Raspbian Firefox-Sync Server - Can't find URL

I'm trying to create my own (local) firefox-sync server in combination with apache 2 on my raspbian (kernel version 3.10), but firefox-sync is complaining about my specified url ...
1
vote
1answer
48 views

How to know my server's time offset? [duplicate]

I have a few guest machines on VMware. Up until now I was keeping my time sync with ntpd inside guests. Now our VMware admins decided to setup VM hosts to keep time, so VMs don't have to. I disabled ...
3
votes
2answers
45 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 ...
2
votes
3answers
89 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
2answers
66 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
235 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 ...
4
votes
2answers
268 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 ...
7
votes
2answers
823 views

sharing or synchronizing history between Zsh and Bash

I often find myself switching between Bash and Zsh, and using the history search functionality to recover a command. However, since Bash and Zsh have different history files, I often find that the ...
3
votes
1answer
292 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
90 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
329 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
104 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
172 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 ...
4
votes
1answer
1k views

Do any Linux distributions have a folder sync option (like briefcase in windows)?

I want to keep my local folder synchronized with a network folder. Is there any folder synchronization utility or feature in Linux?
22
votes
4answers
20k views

scp without replacing existing files in the destination

How do I copy an entire directory into a directory of the same name without replacing the content in the destination directory? (instead, I would like to add to the contents of the destination folder) ...
6
votes
2answers
70 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
167 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
99 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 ...
8
votes
3answers
400 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 ...
8
votes
5answers
12k views

Syncing directories in both directions with rsync

I happen to know about rsyn, and I use rsync to sync between my mac and a linux server as follows. rsync -r -t -v MAC LINUX rsync -r -t -v LINUX MAC I expected to run the first command to sync, but ...
2
votes
2answers
66 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 ...
2
votes
1answer
145 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
84 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
139 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
274 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
149 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 ...
13
votes
6answers
4k views

How do I copy all files and directories except certain ones over ssh?

Using the Linux command line, I use the scp command to copy up all the files and folders from a certain directory. However, I don't like to consume wasted bandwidth for copying up things I rarely ...
3
votes
1answer
223 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
142 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% ...
9
votes
3answers
362 views

Stacked filesystems with write-back

I need to setup a system where a laptop and a desktop computers coexist. The idea is, I bring the laptop into the network and the laptop syncs the /home directory( with some exceptions) with the ...
5
votes
1answer
3k 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 ...
2
votes
2answers
98 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 ...
4
votes
2answers
9k views

How can I move a directory onto an existing directory?

I need to essentially merge changes on two trees, applying the changes from branch 2 to branch 1. I have trees like this: media ├── cd │   ├── 0 │   │   ├── file1 │   │   ├── file2 │   │   └── file3 ...