Re: [OT] Recursive dir (linux)
- Posted by ags <eu at 531pi.co.nz> Oct 16, 2006
- 575 views
ChrisBurch2 wrote: > > ags wrote: > > tar, eg: > > > > tar cvf - ~/euphoria/*.e* | tar xf - -C ~/tempdir > > > > (Will make a folder 'euphoria' under tempdir) > > Hi > > Again, strangley, that only did the top level. I think the reasoning goes > something like, I have no directories that match *.e*. > > Th find technique works fine, since even if duplicate files are picked from > one line to another, I wanted these anyway. Heh, that's the problem with *nixes I find. You can spend hours reading a man page to figure out how to do one particular task, then forget it when you need it several years later I'm glad find worked, that's another one I spent days reading several man pages for to figure out how to get the 'and execute this' bit working with the proper shell escape sequences for bash. These days I tend to just write scripts to do stuff straight away, I'm over the "these Unix guys knew how to do things properly so they must be right" buzz. :) So, er, yeah, why not just write something in Euphoria to do it?? Gary