I have very little experience that’s why I need some help to get started I have been given a task to write a shell script in Linux and I don’t know from where to begin. Can anyone help me out with this please.

1. Move files from Windows 98 machine to this linux machine folders and sub-folders.
(i.e. c:/list/*.* to /var/www/list/) (c:/lot_repos/*.* to /var/www/lot_repos/) & a long list is there.

2. Move the above files at a given hour of the day.

3. CHMOD this files to 644.

I swear that I don’t know about shell scripting Please some one help & save me.

Recommended Answers

All 2 Replies

even before you write your script you will nead to be able to communicate between windows and linux. You will need to set up samba for that.

This thread was also posted in the perl forum...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.