touch?
kwall@kurtwerks.com
kwall
Mon May 17 11:39:36 PDT 2004
On Thu, Oct 31, 2002 at 01:52:51AM -0600, ronnie gauthier wrote:
> I need to modify folder creation dates. I looked through man and info on
> "touch" and dont see folders mentioned. I am creating links using
> readdir(perl) and not relying on any sorting so folders are output in
> crono order. I made the original set in a-z order so display is a-z. any
> additions are obviously out of order and it is just one folder so
> modifying it would be easier than adding a sort routine to the script,
> as easy as that would also be.
In the first place, they are directories (or, more precisely, directory
files), not folders. That said, touch will modify the timestamp on
directories but doesn't, as far as I can tell, create the directory
if it doesn't already exist.
Kurt
--
"Contrary to popular belief, penguins are not the salvation of modern
technology. Neither do they throw parties for the urban proletariat."
More information about the Linux-users
mailing list