mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-04 15:40:44 +00:00
mtree: Update mtree flags in README file
- Add -b (suppress blank lines before directories). - The equivalent of `-i` in fmtree is `-j` in mtree (nmtree) (indent the output 4 spaces). - Add `-F freebsd9` compatibility flavor (print the closing `..` at the end). Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/912
This commit is contained in:
parent
44cf844b16
commit
0a41a6681d
|
@ -23,8 +23,8 @@ and keep them in good working order.
|
|||
|
||||
mkdir /tmp/MTREE
|
||||
mtree -deU -f BSD.X.dist -p /tmp/MTREE
|
||||
mtree -cdin -k uname,gname,mode -p /tmp/MTREE | \
|
||||
sed -e 's/ *$//' >BSD.X.new
|
||||
mtree -bcdjn -F freebsd9 -k uname,gname,mode -p /tmp/MTREE | \
|
||||
sed -e 's/ *$//' >BSD.X.new
|
||||
diff -u BSD.X.dist BSD.X.new
|
||||
rm -r /tmp/MTREE
|
||||
|
||||
|
|
Loading…
Reference in a new issue