The tag has no usage guidance.

learn more… | top users | synonyms (1)

0
votes
0answers
9 views

Debian USB-device-remembering

Given Smartphone (ZUK Z1 with cyanogen os). Im using debian testing with kernel 4.6.0-1-amd64. Task I want to sync my local music files with my smartphone. I heard about "clementine" and installed ...
1
vote
1answer
30 views

copy_only_missing? - Copy from /A to /C only paths missing on /B and /C - concise way

I'd like to copy from /A to /C only paths missing on /B and /C. (Please assume those are paths, and can represent also remote locations e.g. mounted via sshfs) I wonder... Is there more concise way ...
0
votes
1answer
27 views

FTP Sync via GVFS

I need to edit PHP files on an FTP server and since my local editor is unreliable when saving to a GVFS mount, I let rsync do the synchronization: #!/bin/bash webroot=/run/user/1002/gvfs/ftp\:host\=...
5
votes
0answers
98 views

Synchronising millions of files between two Linux servers

I have a server which exports a directory containing ~7 million files (mostly images) from its local disk to network clients via NFS. I need to add a second one for the sake of HA, and to keep it in ...
3
votes
0answers
62 views

Sync with Onedrive

I would like to sync (and backup) my /home directory with OneDrive. I found some great terminal clients, where you can even mount your directory, but nowhere did I found an option to this with some ...
1
vote
2answers
47 views

Differences between rsync on remote and rsync local on mounted sshfs?

Is there any difference if I run rsync with remote host (ssh://) as source/destination or use local path to share mounted directory via sshfs? Could there be differences be with regards to security ...
0
votes
1answer
31 views

Sometimes syncing gets stuck with dd

Sometimes when I use dd then sync or use dd with conv=fsync, the syncing process gets stuck, but sometimes not, with exactly the same input and output targets and configuration. dd if=2016-03-18-...
1
vote
2answers
58 views

Linux file hierarchy - what's the best location to store lockfiles?

I want to synchronize processes based on lock files (/ socket files). These files should only be removable by their creator user. There are plenty of choices: /dev/shm /var/lock /run/lock /run/...
1
vote
1answer
24 views

How to upload my emails to another email server I've downloaded via IMAP from my 1st one?

I want to download my emails via IMAP from email account and upload them to another. I want to do that manually in Python. I know how to retrieve my emails via IMAP, but how can I actually "upload" ...
3
votes
1answer
30 views

How to one way sync two folders on startup

I am trying to synchronize: /var/www/CI_MAIN/ according to the changes made in: /home/coco/workspace/CI_MAIN/ (PDT's workspace). To do this, I entered sudo crontab -e in the command ...
2
votes
1answer
187 views

Running `unison -repeat watch` yields filesystem watcher error

I'm trying to sync a folder in my host OSX to a VM running Ubuntu. (laravel/homestead). This is the command I run on my host: $ unison ssh://vagrant@192.168.10.10//home/vagrant/www ~/unison/www -...
0
votes
1answer
39 views

Synchronous I/O on sysfs files

I'd like to guarantee that what I write to a sysfs file (specifically the /sys/class/gpio files) is sync'd to the actual register. The code I had initially opened the file with the O_SYNC flag, which ...
0
votes
0answers
27 views

Scheduler for a system call in linux to execute some event

I am thinking about a use case. I want a script that will start up my Linux system, open a particular website and then shut down automatically. Is it possible to create a scheduler for my system? As ...
1
vote
2answers
68 views

Is it possible to synchronization real time date from source to destination?

We want to copy ~800GB of data from a source server to destination server using rsync. I was wondering if its safe to use rsync without shutting down source server application? Can rsync handle real ...
1
vote
2answers
213 views

bi-directional sync with rsync

I am trying to setup bi-direction or two way sync with rsync. In my case I only need to delete the files when syncing from B to A. So, I was thinking of running rsync twice as follow : rsync -rtuv ./...
4
votes
2answers
149 views

How do I sync files between two drives?

What command can check that a directory contains the same files as another directory, all the files are up to date and copy any updated files or new files to the first directory. It should not care ...
0
votes
0answers
22 views

fsync () get the impact of road /proc/sys/vm/drop_caches?

I have been testing the service life of TLC(1000write) SD card (4GB). SD card has been formatted with a fat partition. I am a write (), fsync () on a file of 10M SD card repeatedly. 1st (10M): ...
0
votes
1answer
60 views

rsync exclude directory not working, when also scanning for only *.php files

Im trying to rsync all the .PHP and .HTML files from any directory inside of /home/ . However in /home/site2/public_html/cache_old/ there are .html files that i do not want to include in the sync ...
1
vote
0answers
20 views

Does rsync\duplicity real write files on mounted storage?

I've got an external storage, which is mounted as cifs: $: mount ... //somespace/backup on /mnt/backup type cifs (rw) ... And I have write some file: $: rsync /home/user/files /mnt/backup or $: ...
1
vote
0answers
81 views

Is there any way to syncronize notifications between a Linux desktop and iOS?

I use notify-send and dunst for my notification system on my desktop. After a research, I found out that there are a few commercial solutions for sending push notifications to iOS devices, and I even ...
0
votes
1answer
105 views

Sync muliple PCs with Unison

I need to sync 3 computers between each other in same way as Dropbox does e.g. if file changed on one pc others reflect this change as well. So i have choosen Unison. And found that it works perfect ...
0
votes
1answer
316 views

Requiring a script to sync ramdisk before and after reboot

On a specific machine I use a lot of RAM to serve websites really fast directly from RAM (which by the way is working amazingly well). For this I have mounted a ramdisk in /etc/fstab (in debian 7, via ...
1
vote
0answers
14 views

Korganizer synchronization

I use Korganizer in my main laptop and in my secondary laptop - both runs netrunner linux. Recently the main went kaboom and i realize the necessity of having a way to synchronize my data accress ...
1
vote
1answer
82 views

Signal execution details

I am reading some Linux documentation about 'signals' and I still have these questions making noise in my mind: 1) A 'signal' handler execution is done when the 'target' process receives its ...
1
vote
1answer
87 views

Preserve date modified on directories / folders with rsync

I am trying to backup a failing hard drive and rsync would be ideal due to the features it has such as progress indicator and ability to stop and resume. The one issue I am having is that while file ...
1
vote
1answer
29 views

Do `lsof` listings include unsynced/delayed writes?

As a follow up to an answer about unsynced files i was wondering if lsof counts delayed writes as open files? If an application has closed a file, but the file is not yet physically on the device, ...
2
votes
1answer
34 views

Waiting for two events

I have the following requirement: I have a script executing every N hours which downloads a file via wget, and then does some processing (outputing results to several files). Once this is finished, it ...
0
votes
2answers
136 views

Does ntpd have a default driftfile?

I have an embedded Linux with busybox's ntpd. My ntpd.conf is tinker panic 0 server pool.ntp.org iburst server 0.pool.ntp.org iburst server 1.pool.ntp.org iburst restrict default kod nomodify notrap ...
0
votes
0answers
44 views

How do load balanced mail servers function with each other and clients?

If there are two mail servers running postfix/dovecot as both primary in a load balanced configuration, how do they function with each other and with clients? For example, my DNS record will look ...
1
vote
1answer
80 views

How to achieve a bi-directional sync of userN files by user1 while keeping mtimes?

user1 wants to do a bi-directional sync between 2 machines. user1 is a member of group2 and has a non-privileged ssh tunnel. There are lots of files and dirs such as: rwxrwx--- userN group2 enclair/...
1
vote
2answers
136 views

Duplicate stdin to stdout and stderr, but in a synchronized way

I need to duplicate the stdout of a producer and feed it to two consumer in a synchronized fashion. consumer 1 producer | duplicator | consumer 2 ...
1
vote
0answers
51 views

What does raw_spinlock mean? [closed]

I was studying struct raw_spinlock which is in the /usr/src/linux/include/linux/spinlock_types.h was like this: typedef struct raw_spinlock { arch_spinlock_t raw_lock; #ifdef ...
1
vote
1answer
71 views

Syncing folders where multiple files are partially changed

I have following directory structure on remote machine ALLLibs/LibA/LibA.1 ALLLibs/LibA/LibA.2 ALLLibs/LibB/LibB.1 ALLLibs/LibB/LibB.4 for info LibA.1 and LibA.2 are version of a directory, ...
1
vote
2answers
98 views

Compare folder to folder structure

I have my camera's SD card with pictures and films. On my home box, I have a folder structure with directory names like this: images/YYYY-MM-description, sometimes there are subfolders with varying ...
2
votes
2answers
298 views

rsync option to exclude partial files

We are using rsync to sync two folders on same machine. Files will be written to a source folder from another application. We have the problem that, even if a file is not completely written/copied to ...
2
votes
0answers
42 views

Can I make cross-computer sharing compatible with tinfoil-hat security (password managers, email, etc.)

Preface: I realize the following is asking for tinfoil-hat type security, but I'm really curious for answers to my questions -- not suggestions to enable two-factor logons on gmail, etc. and call it a ...
1
vote
0answers
40 views

date/time setting does not work after unplugging power adapter or sudden power cut

For some reason, I want to configure the date/time in my Linux (CentOS 6.5) to be different from the REAL date/time, but the setting won't work if I turn my computer(desktop not laptop if this matters,...
2
votes
1answer
163 views

Time is not synchronized in Linux VM

I am using one Linux VM through VNC viewer from my Windows machine. What I am seeing is that time between two is not synchronized. It seems that the VM is about 5 minutes delayed from Windows (windows ...
4
votes
2answers
275 views

how can I sync a specific device? [duplicate]

Is there a way to sync a specific device in Linux? This would be used to ensure that, e.g., writes to a USB thumb drive have taken place without waiting for queued writes from a video processing job ...
1
vote
1answer
46 views

How to avoid recursive directory traversal for syncing two directories? [closed]

I see a lot of useless recursive directory traversal in: rsync unison owncloud All above application (and many more) do recursive directory traversal over and over again. Since the application ...
1
vote
2answers
304 views

lsyncd: Is it possible to sync individual files from a list?

I want to sync certain files from one linux system to another using lsyncd. The files are not confined to one directory, neither do I want all files from a directory. Specifically I'm trying to make ...
1
vote
1answer
1k views

How to sync bookmarks (favourites) between Google Chrome and Chromium

I'm new to the world of Raspberry 2 and Linux and I have install Chromium on the Raspberry. I did this because I thought it would be a good way to access my Google Chrome Bookmarks (Favourites). ...
3
votes
2answers
65 views

Use USB to synchronize large directory between two disconnected servers

I'd like to synchronize a large directory between two disconnected servers with a USB device that's too small to hold the entire directory. Each server has a majority of the data and the changed files ...
8
votes
2answers
2k views

How to sync two folders with command line tools?

Having migrated to Linux from Windows, I would like to find an alternative software to Winmerge or rather learn command line tools to compare and sync two folders on Linux. I would be grateful if you ...
2
votes
2answers
146 views

Separate bashrc file for ssh sessions to avoid Unison Errors

Recently my Unison started throwing up some strange error whenever I tried to sync between my laptop and my PC. I realized that I had added a line in bashrc that would print my pending tasks whenever ...
7
votes
1answer
1k views

How does rsync resolve conflicts?

What if machine A and machine B shares have a directory previously in sync via rsync, and A changes a file and B changes the same file, and you rsync from A to B? Is it perhaps anything like a merge ...
1
vote
2answers
48 views

Automatic sync/backup that adds files to hard disk and keeps when removed

I know there are a few sync tools available in linux (I use openSuse OS btw), but I think they all do a pure "sync" and I am looking more for a backup function which is not synced (I could be mistaken)...
1
vote
0answers
315 views

Samba File Server Configuration and Sync for Redundancy

I have two boxes which I installed Samba on. For now, I have a single user that access the server, however, I need to expand as to deploy in a production network. Below is what I want to achieve. ...
3
votes
2answers
266 views

Is there a tool that can sync 2 folders on two systems?

Something that can really keep 2 folders synced, not like rsync which is more or less just an advanced cp. I need to achieve this: Have two systems s1 and s2, and folder "files" on both of them. I ...
0
votes
1answer
262 views

Unison on Ubuntu 14.04

Very simple task at hand here: using unison in a star topology in order to synchronize /home folders across multiple servers. So, for ~/.unison/default.prf on each box... Hub: root = root = ssh://...