File Synch across the network <SOLVED>

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
User avatar
lsemmens
Level 10
Level 10
Posts: 3422
Joined: Wed Sep 10, 2014 9:07 pm
Location: Rural South Australia

File Synch across the network <SOLVED>

Post by lsemmens »

I had a package some time back that allowed me to synch files and folders across my home network but cannot, for the life of me either find it, or remember what it was. So, the question is,

What do you folk use. Drag and drop is not an option as one folder contains several thousand images of which only one or two are added removed or changed on occasion. There are other folders that change frequently but I do not want to do this manually every time.
Last edited by lsemmens on Sat Dec 15, 2018 8:33 pm, edited 1 time in total.
Fully mint Household
Out of my mind - please leave a message

HaveaMint
Level 5
Level 5
Posts: 746
Joined: Fri Feb 02, 2018 9:56 pm
Location: Somewhere in the USA
Contact:

Re: File Synch across the network

Post by HaveaMint »

I use grsync.
"Tune for maximum Smoke and then read the Instructions".

User avatar
lsemmens
Level 10
Level 10
Posts: 3422
Joined: Wed Sep 10, 2014 9:07 pm
Location: Rural South Australia

Re: File Synch across the network

Post by lsemmens »

Good idea! Tried it with the following error
rsync: ERROR: cannot stat destination "/run/user/1000/gvfs/smb-share:server=server.local,share=data/Documents/Access": Permission denied (13)
rsync error: errors selecting input/output files, dirs (code 3) at main.c(653) [Receiver=3.1.2]
Rsync process exit status: 3


The Source is "/home/leigh/Documents/Stamps" the destination is "smb://server.local/data/Documents/Access/Stamps"
Fully mint Household
Out of my mind - please leave a message

User avatar
lsemmens
Level 10
Level 10
Posts: 3422
Joined: Wed Sep 10, 2014 9:07 pm
Location: Rural South Australia

Re: File Synch across the network

Post by lsemmens »

Surely someone has a suggestion. I'd have thought that syncing files across a home network was a fairly common occurrence.
Fully mint Household
Out of my mind - please leave a message

User avatar
Mage of Maple
Level 2
Level 2
Posts: 62
Joined: Tue Jul 10, 2018 10:41 am
Location: Maryland USA
Contact:

Re: File Synch across the network

Post by Mage of Maple »

First use Nemo (or whatever) to go to the destination - make sure "smb://server.local/data/Documents/Access/Stamps" is in your address bar and try to create a file. Make sure you have write access.

If that works, does the mirror work with rsync?

Code: Select all

rsync -avhuW --progress /home/leigh/Documents/Stamps/ smb://server.local/data/Documents/Access/Stamps
Add a --delete if you want files that are no longer at the source location to be removed from the destination.

User avatar
lsemmens
Level 10
Level 10
Posts: 3422
Joined: Wed Sep 10, 2014 9:07 pm
Location: Rural South Australia

Re: File Synch across the network

Post by lsemmens »

Thanks MageOfMaple: looks promising but I get the following

Code: Select all

leigh@leigh-HP-Lappie:~$ rsync -avhuW --progress --delete /home/leigh/Documents/Stamps/ smb://server.local/data/Documents/Access/Stamps
ssh: Could not resolve hostname smb: Name or service not known
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at io.c(235) [sender=3.1.2]
and, yes, I do have it mounted and can navigate it in Nemo. There was a GUI package that I found in Software manager in my early days, but, for the life of me cannot find it now.
Fully mint Household
Out of my mind - please leave a message

User avatar
lsemmens
Level 10
Level 10
Posts: 3422
Joined: Wed Sep 10, 2014 9:07 pm
Location: Rural South Australia

Re: File Synch across the network

Post by lsemmens »

lsemmens wrote:
Sat Dec 15, 2018 7:57 pm
Thanks MageOfMaple: looks promising but I get the following

Code: Select all

leigh@leigh-HP-Lappie:~$ rsync -avhuW --progress --delete /home/leigh/Documents/Stamps/ smb://server.local/data/Documents/Access/Stamps
ssh: Could not resolve hostname smb: Name or service not known
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at io.c(235) [sender=3.1.2]
and, yes, I do have it mounted and can navigate it in Nemo. There was a GUI package that I found in Software manager in my early days, but, for the life of me cannot find it now.

Found that gRsync would work if I deselected the option to run as Superuser. Go figure. :shock:
Fully mint Household
Out of my mind - please leave a message

Post Reply

Return to “Software & Applications”