LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-11-2003, 03:21 PM   #1
thineonly
Member
 
Registered: Feb 2003
Posts: 37

Rep: Reputation: 15
SAMBA copying directories


can it be done? if so, how? its important - 1200+ mp3s organized
into folders, it'll be hell to sort them out using 'mget' in each folder.
 
Old 02-11-2003, 03:25 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well why do you think it can't be done? what have you got set up at the moment? etc... there's no reason it isn't possible by default, but without you providing some useful information no one can guess what might be wrong, if anything even is.
 
Old 02-11-2003, 03:52 PM   #3
thineonly
Member
 
Registered: Feb 2003
Posts: 37

Original Poster
Rep: Reputation: 15
.:|:.

all i need is the command to do it, ive got the newest samba, and redhat8, which shouldnt matter, 'mget' doesnt seem to like me putting in directories, only files. is there a command to copy a directory?
 
Old 02-11-2003, 04:02 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
just mount the file system wherever you want and use it as if it were local to your system. depends what the otehr operating system you're copying with is. of course if you're going linux to lniux then you shouldn't be using sabma anyway, but NFS
 
Old 02-11-2003, 04:06 PM   #5
thineonly
Member
 
Registered: Feb 2003
Posts: 37

Original Poster
Rep: Reputation: 15
..::|::..

the server which holds the directory i need to copy is windows xp, i dont have any problems connecting with samba or copying files individually, my
question was if there is a command to copy directories (not files).
 
Old 02-11-2003, 04:14 PM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
i'm aware what your question is. thanks for making sure.

ok, so you mount the xp share on you linux machine:

mount -t smbfs //server/share /mnt/somewhere

and then just use normal cp commands or whatever GUI's you want to copy it.
 
Old 02-11-2003, 04:22 PM   #7
thineonly
Member
 
Registered: Feb 2003
Posts: 37

Original Poster
Rep: Reputation: 15
...:::|:::...

thats what i needed, thanks a lot =D
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Copying linked files, replacing directories in bash scripts? ta0kira Programming 2 10-10-2004 04:46 AM
Copying a single file to multiple directories tgolly Linux - Newbie 3 04-26-2004 03:47 PM
Copying Hidden Directories Guru3 Linux - General 1 12-05-2003 12:59 PM
Copying directories NetScripter Linux - Newbie 3 05-25-2002 12:48 AM
copying directories jonfa Linux - General 2 11-08-2001 10:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration