From: Michael Bykov <m.bykov@gmail.com>
To: "Культурный офтопик" <smoke-room@lists.altlinux.org>, inger@altlinux.org
Subject: [room] tree w/o git
Date: Thu, 23 Jun 2011 17:23:33 +0400
Message-ID: <BANLkTik3+teFT2sRvsreHZWV1eJ9N3q67g@mail.gmail.com> (raw)
Салют,
подскажите, как запускать tree, чтобы .git не показывал?
Кстати, в мане Станислав предлагает --type fl (file, link)
но у меня получается ошибка
$ tree --type fl
.
|--README
|--bin
tree: wrong returning to up directory
и что в bin, не показывает из-за этой ошибки
Еще кстати,
Я еще вот такую штуку использую
alias d='find . -type d | grep -v \.git | grep -v cache | sed -e
"s/[^-][^\/]*\// |/g" -e "s/|\([^ ]\)/|-\1/"'
но она показывает только поддиректоии, а иногда хочется посмотреть файлы
Хочется же tree с ключем -d, для директорий, и в .treerc прописать -v .git и тд
--
М.
http://diglossa.ru
xmpp://m.bykov@jabber.ru
next reply other threads:[~2011-06-23 13:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-23 13:23 Michael Bykov [this message]
2011-06-23 14:50 ` Michael Shigorin
2011-06-23 14:58 ` Michael Bykov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BANLkTik3+teFT2sRvsreHZWV1eJ9N3q67g@mail.gmail.com \
--to=m.bykov@gmail.com \
--cc=inger@altlinux.org \
--cc=smoke-room@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Культурный офтопик
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/smoke-room/0 smoke-room/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 smoke-room smoke-room/ http://lore.altlinux.org/smoke-room \
smoke-room@lists.altlinux.org smoke-room@lists.altlinux.ru smoke-room@lists.altlinux.com smoke-room@altlinux.ru smoke-room@altlinux.org smoke-room@altlinux.com
public-inbox-index smoke-room
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.smoke-room
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git