Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ 1 [2] >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: network file transfer: XP machine--> linux machine< Next Oldest | Next Newest >
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Dec. 16 2005,03:52 QUOTE

Don't forget smbclient. It is built into the base of DSL.
Gives ftp'like access to shares on windows machines.
That is get filename and put filename.
There are some docs about it in the DSL Wiki.
Back to top
Profile PM WEB 
larkl Offline





Group: Members
Posts: 177
Joined: Sep. 2005
Posted: Dec. 16 2005,12:31 QUOTE

I've found smbclient to work very well.  I always wanted to copy the same folders, so wrote a bash script that passes all the 'stuff' to smbclient each time.   Here's the meat of the script.

 
Code Sample
DR1='pc/share1 pc/share2 etc'
for ITEM in $DR1
do
if smbclient //$ITEM -Uuser%password -c "lowercase; prompt; recurse; mask *; mget *"
   then echo "`ls -r *|wc -l` files copied from $ITEM"
   else echo "Failed to copy files from $ITEM"
   exit_sub
 fi
done
Back to top
Profile PM 
Matt
Unregistered






Posted: Dec. 22 2005,15:41 QUOTE

How hard would it be to setup a samba server on the dsl cd so that it creates a share every time it runs?

Thanks in advance!

Matt
mattsrebatespam@yahoo.com
Back to top
7 replies since Dec. 13 2005,04:47 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ 1 [2] >/
reply to topic new topic new poll
Quick Reply: network file transfer: XP machine--> linux machine

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code