Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hi Im trying to concatenate a specific file from each day in a year/month/day folder structure using Bash. The file structure ends up like this:
2009/01/01/products
2009/01/02/products
etc.
The file I need is in products for everyday and I need the script to realize when its run out of days and move onto the next month, then realize when its run out of months then move onto the next year. Any ideas?

I forgot to add incase this helps about the file structure.
2009/01/01/products
2009/01/02/products
....
2009/12/31/productsAnd would it be possible to echo what year/month/day its on?

![]() |
![]() |
![]() |
| Login or Register to Reply | |
| Login | Register |
| Ads by Google |