NavigationUser loginSpam?See spam posts on this site? If so, please don't reply to the spam! Instead, just report the URL to the webmaster. |
cherry-picking file copyI need to copy a very large number of (large) files from one computer to another over samba (although ftp is also an option). Why I don't want to use nautilus for this: Any ideas on how I should do this? I would probably mount the samba filesystem, unless someone suggests a good client. I could possibly create a shell script with a list of directories to copy. Does anyone know of an interface / way to make a script like this? Ideas, anyone? |
wget
Yes, wget is even available to run on the WinDos command line! The list of files and the script is best to auto-generate (and hand-edit) on the *NIX machine which hosts the files. Don't forget to change the end-of-line character to something suitable for WinDos before you bring the script over. As an example of what you can do on *NIX:
cd /home/me
find ./ -name * > ./mylist
Hmm... I'm on WinDos at the moment so I can't tell you exactly how to proceed from there, but it would go something like this:
a. filter 'mylist' through 'cut' to obtain just the file names and write the results to 'mylist2'
b. create the batch file via something like:
for X in $(cat mylist2); do echo "wget -c 192.168.1.1/$X" >> mybatch ; done
You need to read the wget manual of course to see exactly how to construct the URL and how to specify user/passwd to the system you are copying from. There are also options to trim the directory structure so you don't get ridiculous directory nests (the default).
thanks, pinniped
cheers, that was a great help - everything is running smoothly.