>>> tar -c /[a-z]/200[24]
>> I didn't even think that such a regex would work underneath such a
>> command. Pardon my ignorance.
>
> It is not a regex, it is a file glob.
>
> man 7 glob
I had no idea. Not that I want to, but I can now think of numerous
things I can lift up a level (or essentiall
On Wednesday 05 December 2007 16:35, Steve Bertrand wrote:
> >
> > Why can't you just use file globbing in the shell:
> >
> > tar -c /[a-z]/200[24]
>
> I didn't even think that such a regex would work underneath such a
> command. Pardon my ignorance.
It is not a regex, it is a file glob.
man 7 gl
>> Essentially, I need the following populated to a file:
>>
>> /a/2003
>> /a/2004
>> /b/2003
>> /b/2004
>>
>> ...etc.
>>
>> I can provide code, but to be honest, I am working so hard on
>> developing module subroutines for RADIUS accounting/billing
>> management, I'm just hoping for an easy one-li
On Wednesday 05 December 2007 15:59, Steve Bertrand wrote:
>
> I have a quick & dirty question on directory management, and I'd like
> to whip up a solution once, and reuse as necessary.
>
> There is a directory structure, in which I want to tar up X number of
> director
I have a quick & dirty question on directory management, and I'd like to
whip up a solution once, and reuse as necessary.
There is a directory structure, in which I want to tar up X number of
directories every year. Here is the structure:
/ -
|- a
| - 2003