[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to ls a directory with the directory path prepended?
From: |
Mingye Wang |
Subject: |
Re: How to ls a directory with the directory path prepended? |
Date: |
Tue, 28 Apr 2020 11:33:53 +0800 |
Uh, could you please tell us why you are looking for a shell-less way to
generate a specific output format from ls? ls is designed mostly for human
use and parsing its output is usually a bad idea.
Try using something like `find d -depth 1` instead. Also try tree(1).
Regards,
Mingye.