[{TableOfContents }]

!!How do I include the current date in a file name that is piped to?

!from linux

{{{
echo "example" > sample_`date+%F`.txt
}}}

will yield something like {{sample_2008-02-29.txt}}.  The man pages on {{date}} have more information.

----
[Linux.Shell | CategoryComputing.Linux.Shell] - [Mac.Shell | CategoryComputing.Mac.Shell]