You should mount
the remote filesystem first:
sudo mount -t cifs '//HOST/DIR' /LOCAL/DIR -o user=<WINDOWS_USER>,iocharset=utf8
Then you can find
and copy files.
Question
Hi I am new to Linux system. I need to copy files from "connect to server" windowshare as smb files location to local linux path. I tried this but i can't work properly, How to copy files from smb://crystal/share.
I tried:
find smb://crystal/share/ -type f -exec scp {} /var/www/share/
it can work with local system but I need simply copy from windowshare files, local server files,
I can connect to server option in linux, it option can be copy files manually but I like to copy files by terminal, any one help me....
Thanks advanced...
Solution
You should mount
the remote filesystem first:
sudo mount -t cifs '//HOST/DIR' /LOCAL/DIR -o user=<WINDOWS_USER>,iocharset=utf8
Then you can find
and copy files.
OTHER TIPS
You have to mount the smb file system, first, so that it looks "native" to the unix tools.
See:
http://www.cyberciti.biz/tips/how-to-mount-remote-windows-partition-windows-share-under-linux.html