Today (Saturday) We will make some minor tuning adjustments to MySQL.

You may experience 2 up to 10 seconds "glitch time" when we restart MySQL. We expect to make these adjustments around 1AM Eastern Daylight Saving Time (EDT) US.

How to save a file directly into windows from UNIX?

Login or Register to Reply

Thread Tools Search this Thread
# 1  
How to save a file directly into windows from UNIX?


How can i save a file directly into my windows file system by running a shell script from my unix file system.

I need to fetch data from a database and save it in a file. Since the data downloaded from database is huge, if i save it in the unix file system, the space in my home directory gets filled up very soon. so, i used to download data on small chunks and transfer the file to my windows desktop using ftp.
FTP takes a lot of time to transfer the data file from unix to windows. SO my requirement is can i directly save the data fetched from DB in wondows filesystem so that i can avoid FTP. If so please explain me.

I don't know how to mount windows file system to unix.
# 2  
You don't state which Unix operating system or which Windows version it is. Please enlighten us.

I would say that you probably need to configure and/or install a NFS server (not just NFS client) on your Windows box. Microsoft sometimes provide this as an add-on or sometimes it's built-in depending on whether you are talking desktop or exact server version. You will need to research that on the basis of exactly what Windows OS you are running. Also make a note of which version of NFS (2,3,or 4) the Windows is supporting.

Then, after that you should be able to configure and publish a NFS handle on your network from the Window box which you can mount in the usual way on your Unix box (depending on which Unix O/S it is). This filesystem will then be still under the management of the Windows OS but directly accessible from Unix.

Please provide more information on your environment(s).

Last edited by hicksd8; 08-02-2015 at 01:14 PM..
# 3  
I don't think ftp adds that much overhead, so don't expect too much performance improvements using other methods/mechanisms.
I guess you can "share" your home directory, which is done by using the smb protocol (CIFS). Try using the samba client tools to copy data to your shared home dir.
Login or Register to Reply

Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Seen Windows pc, having all the features of Linux, could exe, read and edit save like windows
Hi, totally new to linux base using windows when started learning and using computers. but i remember that one pc was there , look alike windows desktop, but could not do the task as windows just click and open and view edit etc. But, you could do a little differently even saving in and opening...... UNIX for Beginners Questions & Answers
UNIX for Beginners Questions & Answers
Multiple input and save in windows format
The below code works great if the user inputs a single value. The sed command applies the NM_ with the user input it is saved to a file. However, if two values are entered the below does not work. Can both values be saved at the same time if they are entered in windows format? Thank you :). ...... Shell Programming and Scripting
Shell Programming and Scripting
Script to port a file from unix and save in windows
hi, when i finish running some scripts in unix...some csv file is getting im manually taking this csv file from this generated directory and using FTP, i'm importing to windows os and saving in a directory... please give me a script to automate that i can add in my...... Shell Programming and Scripting
Shell Programming and Scripting
Save Excel file as .txt in UNIX format
I have some files created in Excel that have to be saved as .txt files in order to load them into our accounting system. I can save the files as .txt files through Excel, but I then have to open them in TextPad and do a save as to change the Format from PC to UNIX. Is there a way to skip this step...... UNIX for Dummies Questions & Answers
UNIX for Dummies Questions & Answers
can unix printing directly to ip address
Thanks in advance. I am researching if it is possible for unix (solaris) to print directly printers with IP addresses. Without adding all the ip addresses to the hosts file? There are more than a hundred printers and managing them in a hosts file would be tedius, prone to error, and time...... UNIX for Dummies Questions & Answers
UNIX for Dummies Questions & Answers

Featured Tech Videos