Re: sending file to a shell script
From: johngnub (johngnub_at_COX.NET)
Date: 10/05/05
- Next message: Allodoxaphobia: "Re: Shell Script(Files) - help required"
- Previous message: Bill Marcum: "Re: sending file to a shell script"
- In reply to: Bill Marcum: "Re: sending file to a shell script"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 5 Oct 2005 09:35:48 -0700
Me?
I would add on the date to the file name, that way I can sift it all
out later, and todays files do not get mashed with yesterdays files,
even after reboot, vac, long week end, and so on ...
I do this a lot with files that get made during a process.
mydate=$(date "+%d.%m.%Y")
foo=fun.$$.$mydate
echo $foo
fun.77358.05.10.2005
Nesting maybe,
foo=fun.$$.$(date "+%d.%m.%Y")
--- " I'll use my own cool quotes thanks..." --- JB
- Next message: Allodoxaphobia: "Re: Shell Script(Files) - help required"
- Previous message: Bill Marcum: "Re: sending file to a shell script"
- In reply to: Bill Marcum: "Re: sending file to a shell script"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]