All Questions
162
questions
1
vote
1
answer
62
views
Keeping remote files up to date but excluding some subdirectories
I have a web server running remotely on Linux and I'd like to sync my local fines to the server whenever there's a change. It needs to update when a local file is deleted or a new local file is added. ...
0
votes
0
answers
231
views
unclear semantics of some fio options
I am doing some raw disk tests using fio. I found some behaviour are not clear when I specify --filename=/dev/device_name and --direct=1. Could please help me to explain it?
(1) default ioengine is ...
0
votes
1
answer
704
views
Synchronize folders between computers checking differences in Linux
I'm trying to synchronize a folder between my computer and my laptop. This sync should be bidirectional, because changes could be made in laptop or in computer. I would like it to check differences ...
0
votes
3
answers
2k
views
Folder synchronization between different Linux servers?
I have a cluster consisting of multiple nodes. Now I need to synchronize a folder on these nodes, and each node's folder may be added new files. Once a new file is added to the folder in one of the ...
0
votes
1
answer
311
views
Is there a way to set something like `GIT_OPTIONAL_LOCKS=0` on a per-repository basis?
Use case: I am using Git to track history of personal notes that are automatically synced between my computer and my phone (via Syncthing). I use git status before committing from a different device ...
0
votes
1
answer
136
views
Synchronising files in between two laptops
I am asking this because Unison is notoriously problematic when one tries to sync among different OS that have different versions and have been compiled with different Ocaml version.
So what would be ...
0
votes
0
answers
441
views
Is there a way to keep two directories (on two servers) in sync with each other, truly?
I have two servers in AWS that we are using to store a software packages codebase that is accessed by the web application/server.
/var/www/vhosts/application-dua/content/
This same folder structure ...
0
votes
1
answer
148
views
How can one rsync from a file and delete superfluous files/dirs on destination
When using rsync --files-from=$FILE I would like to delete all files and directories in the destination that are not listed in the file.
e.g
mkdir /tmp/sync
cd /tmp/sync
mkdir left right
touch left/...
0
votes
1
answer
1k
views
geth node sync err="action from bad peer ignored"
Linux version 3.10.0-693.2.2.el7.x86_64 ([email protected])
(gcc version 4.8.5 20150623 (Red Hat 4.8.5-16) (GCC) )
[root@izbp19z5o9dc8zqyw88smwz ~]# geth version
INFO [07-28|15:00:...
0
votes
2
answers
1k
views
Dns servers in sync
I want have two master dns servers. Every one of servers has single different external IP. I read about dns server that:
'The most significant caveat to this design is that both masters MUST now ...
1
vote
1
answer
845
views
Ways to accurate synchronize clock with linux
I have a computer that doesn't has internet, I put NTP to sync with a USB GPS and serve NTP to other computers. That's working, but sometimes the server is not suitable for synchronization and I need ...
2
votes
1
answer
2k
views
How to know how much data for writing to file system is pending in the system on Linux system?
I have a need to know how long the machine would take for the write cache to be flushed to actual disk. Right now, when I try to unmount a disk, unmount waits for sync to complete. On USB stick, this ...
3
votes
1
answer
270
views
Is it possible to sync directory between two computers without direct connection through small intermediate storage device?
I would like to one way synchronise big directory between two machines without direct connection. Either using some cloud storage (without computing power) connected to both machines or an ...
2
votes
2
answers
1k
views
Ubuntu user permissions for working with resilio sync
Hi i have a simple setup where my ubuntu workstation syncs with some other devices via resilio sync.
I've successfully got it working using these instructions.
However my problem is that once i do ...
0
votes
1
answer
1k
views
How can I set up a script which copies all modified files and subfolders from folder A to folder B using inotifywait?
How can I set up a script which copies all modified files and subfolders from folder A to folder B using inotifywait?
I have a folder (A) with lots of files and subfolders.
I want to automatically ...