in reply to Re^6: Finding Oldest File in a Directory
in thread Finding Oldest File in a Directory

You are wrong. -d simply means that directories will be listed as themselves. From the man page:

-d     List  names of directories like other files, rather than listing
       their contents.

Perl Mouse is perfectly right about this.

Makeshifts last the longest.

  • Comment on Re^7: Finding Oldest File in a Directory

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.