rsync problem

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
JoHubb
Level 3
Level 3
Posts: 141
Joined: Thu Feb 22, 2018 6:47 am
Location: Ireland

rsync problem

Post by JoHubb » Fri Jan 11, 2019 1:29 pm

I would like to transfer files between PCs on my home network using rsync ( I think this uses ssh automatically now).

Starting simple I tried to copy a file, essen_a.png, locally. The path below in terminal is the path shown in file properties.
Obviously, something is not right!
Screenshot at 2019-01-11 17-17-46.png
I'd be grateful for advice. Thanks!

User avatar
Flemur
Level 16
Level 16
Posts: 6401
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: rsync problem

Post by Flemur » Fri Jan 11, 2019 1:34 pm

It can't find the file you want to copy, "essen_a.png"
Try

Code: Select all

ls essen_a.png 
before the rsync
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Manjaro openbox/fluxbox/pulse-less
Lubuntu LXDE/fluxbox/pulse-less

JoHubb
Level 3
Level 3
Posts: 141
Joined: Thu Feb 22, 2018 6:47 am
Location: Ireland

Re: rsync problem

Post by JoHubb » Sat Jan 12, 2019 4:52 am

Thanks, Flemur.

Exactly, rsync cannot find 'essen_a.png'.

The question is - why not? It is on the desktop as shown here. It is a real file with content which opens.
Screenshot at 2019-01-12 08-48-07.png
Any ideas what could be going wrong?

User avatar
philotux
Level 5
Level 5
Posts: 683
Joined: Sat Jul 21, 2018 11:14 am
Location: Utopia

Re: rsync problem

Post by philotux » Sat Jan 12, 2019 4:57 am

Try right clicking on the desktop and open a terminal there. Run the sync command from there.

JoHubb
Level 3
Level 3
Posts: 141
Joined: Thu Feb 22, 2018 6:47 am
Location: Ireland

Re: rsync problem

Post by JoHubb » Sat Jan 12, 2019 6:00 am

Yes, thanks, philotux, this worked!

So, if I want to use rsync to copy a large directory with sub-folders, I should open it in the desktop?

Is this requirement just a quirk of Linux or Mint, or am I missing something obvious? Maybe it's time to go to v.19?

Thanks, again.

User avatar
philotux
Level 5
Level 5
Posts: 683
Joined: Sat Jul 21, 2018 11:14 am
Location: Utopia

Re: rsync problem

Post by philotux » Sat Jan 12, 2019 6:03 am

You would need to go where the folder/file is located, open a terminal there and run the command.

User avatar
philotux
Level 5
Level 5
Posts: 683
Joined: Sat Jul 21, 2018 11:14 am
Location: Utopia

Re: rsync problem

Post by philotux » Sat Jan 12, 2019 6:06 am

By the way, if you want a gui for rsync, have a look at grsync:
https://www.howtogeek.com/66348/how-to- ... -easy-way/

User avatar
Flemur
Level 16
Level 16
Posts: 6401
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: rsync problem

Post by Flemur » Sat Jan 12, 2019 9:40 am

JoHubb wrote:
Sat Jan 12, 2019 4:52 am
Thanks, Flemur.

Exactly, rsync cannot find 'essen_a.png'.

The question is - why not? It is on the desktop as shown here. It is a real file with content which opens.

Screenshot at 2019-01-12 08-48-07.png

Any ideas what could be going wrong?
The file is not there.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Manjaro openbox/fluxbox/pulse-less
Lubuntu LXDE/fluxbox/pulse-less

Post Reply

Return to “Software & Applications”