Computing.Net > Forums > Unix > unix file transfer to windows

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

unix file transfer to windows

Reply to Message Icon

Name: tagem
Date: November 13, 2005 at 12:16:56 Pacific
OS: Windows NT
CPU/Ram: Pentium 4
Comment:

Hello,
I am new to korn shell. There is a file that gets produced every night and I want to automatically transfer this from unix to a windows shared area without any manual intervention.
Does anyone know how I can do this via command line or has anyone got a script that I could use.

Thanks




Sponsored Link
Ads by Google

Response Number 1
Name: nz_boy
Date: November 14, 2005 at 13:40:48 Pacific
Reply:

use rsync do a man on it.or read here.


I do local backups on several of my machines using rsync. I have an
extra disk installed that can hold all the contents of the main
disk. I then have a nightly cron job that backs up the main disk to
the backup. This is the script I use on one of those machines.

#!/bin/sh

export PATH=/usr/local/bin:/usr/bin:/bin

LIST="rootfs usr data data2"

for d in $LIST; do
mount /backup/$d
rsync -ax --exclude fstab --delete /$d/ /backup/$d/
umount /backup/$d
done

DAY=`date "+%A"`

rsync -a --delete /usr/local/apache /data2/backups/$DAY
rsync -a --delete /data/solid /data2/backups/$DAY

The first part does the backup on the spare disk. The second part
backs up the critical parts to daily directories. I also backup the
critical parts using a rsync over ssh to a remote machine


0

Response Number 2
Name: Ravi kumar
Date: November 15, 2005 at 20:02:18 Pacific
Reply:

Hi,

rsync is the one way.
another way is using samba. share the file system in the unix in which all your backup will be placed. those files/folders can be access by all windows who have access to the unix machine.


0

Response Number 3
Name: Mukesh Kesharwani
Date: December 1, 2005 at 09:02:49 Pacific
Reply:

Same question is asked to me some time back too.

Solution is described on
http://kesharwani.blogspot.com/2005_07_01_kesharwani_archive.html

Mukesh Kesharwani
CISSP, CCNA, SCSA,CUA,CNA, MCSE,MCP+I,CCNSE,Certified HIPPA Security

http://www.keekar.com


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: unix file transfer to windows

to see unix file system in windows www.computing.net/answers/unix/to-see-unix-file-system-in-windows/3206.html

transfer a file to a unix machine www.computing.net/answers/unix/transfer-a-file-to-a-unix-machine-/5746.html

Unix to Windows Data Transfer www.computing.net/answers/unix/unix-to-windows-data-transfer/1924.html