File Synch across the network <SOLVED>

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
lsemmens
Level 11
Level 11
Posts: 3951
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 LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Fully mint Household
Out of my mind - please leave a message
HaveaMint
Level 6
Level 6
Posts: 1085
Joined: Fri Feb 02, 2018 9:56 pm

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 11
Level 11
Posts: 3951
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 11
Level 11
Posts: 3951
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: 70
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 11
Level 11
Posts: 3951
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 11
Level 11
Posts: 3951
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
Locked

Return to “Software & Applications”