Score:1

Gio copy all files from shared folder

br flag

I want to copy all files from shared windows folder to my local folder In Ubuntu. I am using gio and following row:

gio copy smb://computerName/FoldName/* ~/localFolder/

but the result is gio: smb://...../*: Invalid argument

How to copy all files from share folder in local folder with GIO?

Score:1
es flag

The only thing I can suggest is to use a standard copy ( cp ) command to transfer the files.

When you did your original mount:

gio mount smb://computerName/FoldName

It created a mount point at:

/run/user/$UID/gvfs/smb-share:server=computerName,share=FolderName

You can use cp to copy the contents to your local folder:

cp -r /run/user/$UID/gvfs/smb-share:server=computerName,share=FolderName/* ~/localFolder/
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.