Quantcast
Channel: UNIX and Linux Forums
Viewing all articles
Browse latest Browse all 16232

KSH fetching files from server A onto server B and putting on server C

$
0
0
Dear Friends,

Sorry for this basic request. But I just started learning Ksh recently and still I am a newbie in this field.

Q: I have files on one server and the date format is 20121001000009_224625.in which has year (yyyy) month (mm) and date (dd). I have these files on server A. The task which I am trying to accomplish is: I need to fetch these files onto server B dated 30 days older, bzip them and put them on server C. This script would run as a cronjob in server B. All servers are sun solaris.

Could anybody please help me with the code on serverB? Any help would be greatly appreciated.

Viewing all articles
Browse latest Browse all 16232

Trending Articles