On 08/19/2013 12:15 PM, Mark Haney wrote:
How can I do that in a bash script. I can probably use find, but this seems much simpler and/or quicker than finding one file.
Are you looking for files with today's date, or with a specific date? In the former case, you can use the date command to put today's date into a variable and dissect it; in the latter, you can put the desired date, in the proper format, on the command line. And, if you're comfortable with perl, you might want to use it for the date manipulation.
-- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org