Различия
Здесь показаны различия между двумя версиями данной страницы.
dev:snippets:linux:bash [2012/11/14 07:33] jamis7005 создано |
dev:snippets:linux:bash [2012/11/14 07:35] (текущий) jamis7005 [Excluding list of files using regex] |
||
---|---|---|---|
Строка 1: | Строка 1: | ||
====== Bash Command Line ====== | ====== Bash Command Line ====== | ||
- | ===== Excluding list of files using regex ===== | + | === List files with regex === |
List all files recursivly excluding files containing 'doc' and 'source' | List all files recursivly excluding files containing 'doc' and 'source' | ||
ls -R| egrep -v '(doc|source)' | ls -R| egrep -v '(doc|source)' | ||