The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #5 (permalink)  
Old 09-07-2007
falcondown01 falcondown01 is offline
Registered User
 

Join Date: Sep 2007
Location: them crazy hills in Missouri
Posts: 3
Hi younggun,
Thanks for the info. I was able to finish this script today. Below is the final script and it worked for copying this file i need over and over.

#! /bin/csh
while 1
cp -p file_name /directory/to/copy/to/file_name'date '+%d%h%y_%T''
sleep 1800
end

Again Thanks for the help!
Falcondown01
Reply With Quote