Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
1 answer
145 views

File system contents sometimes not synced in some bash terminals

I've sometimes noticed this behavior on one machine (Ubuntu using Mate terminal). Case 1 I have 2 terminals open on the same path. I do a 'ls' on both but the output is incorrect in one of them, some ...
user3671607's user avatar
0 votes
0 answers
88 views

multiple folder sync with rsync from server to local storage

im trying this for a first time, and im not the best in sh. #!/bin/sh SCRIPTPATH='server/cronscripts' SSHKEYNAME='keyid' FROMDIRPATH='server/source-folder/folderA/' TOSERVERANDPATH='local-...
Excyp's user avatar
  • 1
1 vote
0 answers
394 views

lftp bi directional syncing

How to sync directories on two different machines? If I change/add/delete a file on the windows machine, it should be changed/added/deleted on the linux machine and vice versa. I have to use lftp to ...
stackunderflow's user avatar
0 votes
2 answers
195 views

rsync {braces} fail?

I need some help in this issue: I want sync /path/first/ with /path/second/, /path/third/ ..etc so I've tried this: rsync -rv /path/first/ /path/{second,third,fourth}/ But it worked only for last ...
loadaverage's user avatar
2 votes
2 answers
4k views

Sync files between 2 remote computers using Linux terminal

I want to be able to synchronise files between 2 remote computers in both directions. Say for example that I want to synchronise my /home/Documents directory with <username>@example.com:/home/...
Eddy's user avatar
  • 3,397