Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 10-09-2004, 04:38 PM   #1
Registered: Nov 2003
Location: Germany
Distribution: Linux Mint 18.1
Posts: 39

Rep: Reputation: 15
How to copy in a script files to a samba folder?

I have connected my Linux box to a Windows XP PC, and I can access the shared folder at smb://

To copy files I usually open the shared folder in a Konqueror window and drag them in or out.

Now, I would like to automize a backup procedure and put a copy of my backup file to the shared folder.

How do I access a shared folder in a script?

When in a console I say "cd smb://" I get a "No such file or directory" message.

Many thanks

Old 10-09-2004, 07:29 PM   #2
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667

Rep: Reputation: 30
you'll have to mount the smb-fs to somewhere first. since i don't use samba in an unix environment (better go with nfs here) i can't tell you how to do that, but the manpages of samba, smbmount or so.. should give you a hint.

sl mritch.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
need script to copy all files containing a certain string to a directory dc6463 Programming 21 04-18-2013 01:56 PM
starting script, init by copy/create file in (samba) folder? muab Linux - General 7 06-22-2005 06:02 PM
will this script copy only certain files? verbatim Programming 5 04-28-2005 09:28 AM
need a script to delete all files from a folder and subfolders cccc Programming 1 03-04-2005 10:54 AM
Foreach script to copy files gone wrong... clue? xiaodown Programming 2 11-02-2004 11:00 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:16 PM.

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