[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Ensure consistent order of find output
From: |
Peng Yu |
Subject: |
Ensure consistent order of find output |
Date: |
Sun, 26 Jan 2020 09:23:01 -0600 |
Hi,
I'd like to make sure the `find -printf '%P\n'` output of a directory
(i.e., only relative paths are printed) be consistent among different
runs as long as the file paths in the directory are the same.
I can pass the `find` output to `sort`. Is it the best way to do so? Thanks.
--
Regards,
Peng
- Ensure consistent order of find output,
Peng Yu <=