mirror of https://github.com/cheat/cheat.git
Merge pull request #137 from ImmortalPC/master
(add) AsciiArt, (change) find
This commit is contained in:
commit
af0ec35ba4
|
@ -0,0 +1,22 @@
|
||||||
|
# To show some text in ASCII Art:
|
||||||
|
|
||||||
|
figlet Cheat
|
||||||
|
# ____ _ _
|
||||||
|
# / ___| |__ ___ __ _| |_
|
||||||
|
#| | | '_ \ / _ \/ _` | __|
|
||||||
|
#| |___| | | | __/ (_| | |_
|
||||||
|
# \____|_| |_|\___|\__,_|\__|
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
# To have some text with color and other options:
|
||||||
|
# Show with a border
|
||||||
|
toilet -F border Cheat
|
||||||
|
# Basic show (filled)
|
||||||
|
toilet Cheat
|
||||||
|
# mmm # m
|
||||||
|
# m" " # mm mmm mmm mm#mm
|
||||||
|
# # #" # #" # " # #
|
||||||
|
# # # # #"""" m"""# #
|
||||||
|
# "mmm" # # "#mm" "mm"# "mm
|
||||||
|
#
|
|
@ -36,3 +36,6 @@ find . -type d -empty -exec rmdir {} \;
|
||||||
|
|
||||||
# To search for directories named build at a max depth of 2 directories
|
# To search for directories named build at a max depth of 2 directories
|
||||||
find . -maxdepth 2 -name build -type d
|
find . -maxdepth 2 -name build -type d
|
||||||
|
|
||||||
|
# To search all files who are not in .git directory
|
||||||
|
find . ! -iwholename '*.git*' -type f
|
||||||
|
|
Loading…
Reference in New Issue