Transferring a Folder (recursively) with smbclient
12,192
I figured it out based upon the following answer: https://superuser.com/a/856640/380029
In a nutshell, using "mput *" instead of what I used above.
mkdir Dest
cd Dest
mput *
Related videos on Youtube
![Blake Johnson](https://lh4.googleusercontent.com/-szIK3oRXPKg/AAAAAAAAAAI/AAAAAAAABcY/Jmn_0sfajgQ/photo.jpg?sz=256)
Comments
-
Blake Johnson almost 2 years
For the life of me, I can't get the smbclient command to actually transfer any folders.
Since I can't find any documentation anywhere else (the MAN page is not helpful at all), I've been trying to figure this out with more Googling than I can feel comfortable admitting. This is the closest I've been able to find to documentation, but I can't seem to get this method to work.
I'm hoping someone can explain what's going on and how to actually make this work, that would be very appreciated.
smb: \> recurse smb: \> prompt
With one of the following:
smb: \> mput FolderOfFiles smb: \> mput FolderOfFiles* smb: \> mput /home/share/FolderOfFiles smb: \> mput /home/share/FolderOfFiles*
-
Vomit IT - Chunky Mess Style almost 7 yearsPossible duplicate of How do I recursively download a directory using smbclient?
-