No, the -d option specifically limits the output to directories only, not its absence as you imply.I know. That's why I wrote: This still has the possibility of returning a directory name though. -d implies that ls won't show the content of the directories, just the name. Which is exactly what I intended.
In reply to Re^5: Finding Oldest File in a Directory
by Perl Mouse
in thread Finding Oldest File in a Directory
by awohld
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |