Re: Bash Scripting Assistance

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Well, with the Min and Sec's there too, that should not happen. However,
if I use a cron job as I am, then there could be a problem if the job runs
at the same time H,M,S. So, I scheduled the job to run every day, so the
date stamp will change...

Thanks

Joe

> On Mon, 2003-11-17 at 13:02, Rodrigo Nascimento wrote:
>> To create the directory with date and time:
>>
>> mkdir `date +%d%b%Y"_"%k%M%S`
>
> I suggest the %H format for hours (24 hours), or you risk overwriting an
> existing directory.
>
>
> --
> Jason Dixon, RHCE
> DixonGroup Consulting
> http://www.dixongroup.net
>
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux