SHARE
TWEET

Untitled




Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- ls: Cannot read '*.png': the file or the directory doesn't exist
- ls -R | grep '.png$'
- ls -R | grep .png$
- find [startingPath] -type [fileType] -regex "[regularExpression]"
- find . -type f -regex ".*.pdf"
- find . -type f -regex ".*.pdf" -ls
- find . -type f -regex ".*.pdf" -exec file {} ;
- picture1.png
- picture2.png
- ls -R picture1.png picture2.png
- ls -R *.png
- shopt -s globstar
- ls **/*.png
- shopt -u globstar
- globstar
- If set, the pattern ** used in a pathname expansion context will
- match all files and zero or more directories and subdirectories.
- If the pattern is followed by a /, only directories and
- subdirectories match.
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy.