I want to automate the copying of a daily created file from a windows 2K file server into a web folder on my slackware server.
Any help please
I want to automate the copying of a daily created file from a windows 2K file server into a web folder on my slackware server.
Any help please

Command line SCP (Secure copy) app - PSCP from here.


I would say the easiest way would be to set up samba on the linux box and a scheduled task on the windows box which runs a xcopy.
K right thanks. Rsync would be what i'd like to do, would easily cure the problem of copying over new files.
As this file could appear anytime, i'd need to check repeatedly. What are the commands to run cron?
How do I attach to a windows share from linux - what's the command?
You must edit the system crontab. It's located at /etc/crontab. If your confused about the format of the file, consult the man page (man crontab).What are the commands to run cron?
mount -t cifs <mountpoint> //<server>/<share>How do I attach to a windows share from linux
You may wish to set things up in /etc/fstab though so Linux mounts the share on bootup.
There are currently 1 users browsing this thread. (0 members and 1 guests)