The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Move a file from windows directory to unix directory kingpeejay Shell Programming and Scripting 1 06-19-2009 02:31 PM
Transfer files wih directory structure. uxlunatick SCO 11 04-28-2008 04:25 PM
How to Transfer a whole Directory from unix to windows using FTP? ramkumarm83 IP Networking 1 12-03-2006 12:32 PM
moving files from a unix directory to a windows directory gleads UNIX for Dummies Questions & Answers 2 08-29-2002 09:42 PM
Directory file transfer...help ian UNIX for Dummies Questions & Answers 2 07-25-2001 09:12 AM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 11-02-2009
easterraj easterraj is offline
Registered User
  
 

Join Date: Nov 2009
Posts: 7
Question Need Some Logic Help in File transfer from one directory to another directory in UNIX

Hi,
I have to transfer five files from one directory to another directory in unix with the help of shell scripts. This shell script calling the param file as input parameter. Every day one file will come and fall on my source directory. Remaining files will fall on any one of the day of the month. My existing script will transfer on every day. Proposed system will transfer the file on cyclic base (whenever the four files fall on my source directory). I can't specify the those four files name on my script because this script for generic purpose. I am giving the sample data of my param file below

n1 N1.filename1 data01 N1.filename1
n1 N1.filename2 data01 N1.filename2
n1 N1.filename3 data01 N1.filename3
n1 N1.filename4 data01 N1.filename4
n1 N.dailyfile data01 N.dailyfile

How can i achive the transfer. Can u help me.

Thanks,
A. Easter raj

Last edited by easterraj; 11-02-2009 at 11:44 AM.. Reason: not so clear
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:44 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0