LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-11-2004, 11:57 PM   #1
lin00b
Member
 
Registered: Jun 2004
Posts: 39

Rep: Reputation: 15
log creation script problems


Hey all, this is the part of a script that runs at the end of a backup job that is meant to create a new file with all the backup info in it, with its name being the date it was created, however, it doesn't ever work, the logfile keeps the original name, and therefore gets overwritten when the script runs again, help me out

echo 'Backup ended at' `date` >> $outputfile
cp $outputfile /backup/`date '+%Y-%m-%d_at_%k:%M.dailylog'`

is the problem in this part of the info or in another bit of the script?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PDF creation problems in KOffice DJOtaku Linux - Software 2 11-06-2004 11:09 PM
Mysql table creation problems!! linux_child001 Linux - Newbie 10 06-28-2004 02:10 PM
bzflag help! First sound, now window creation problems. (I have nvidia 1.0-5328) natalinasmpf Linux - Games 3 01-02-2004 12:47 AM
sendmail server mail box creation problems kjsubbu Linux - Networking 0 08-25-2003 06:47 AM
problems with cd creation using kazaa lite linda souhrada Linux - Newbie 4 04-21-2003 08:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration