View Full Version : Save to a shared folder on another box?
December 11th, 2008, 05:12 PM
I've got a script that generates a file. It's on box1. I want to save a copy of the file to a wide-open shared folder on box2. I have checked and permissions will allow me to do this... I just need to know how to construct the bash statement that will save it on another box. I'm sure it's pretty simple, I've just never done it before and google wasn't really sure what I was talking about.
December 11th, 2008, 06:02 PM
That question can't be answered without knowing what kind of share it is and how it's shared. If the directory is mounted like a regular filesystem (it would show up in the mount command's output), then there's nothing special--just write to the proper path. If it's mounted through some other method (such as Nautilus), then you'll have to use a separate program that knows how to handle those kinds of shares.
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.