Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- regular expression to check file in bash
- if [ -f /path/to/file*.txt ]
- if [ -f /path/to/file*.txt ]
- if [ -f /path/to/file1.txt ]
- if [ -f /path/to/file1.txt /path/to/file2.txt ]
- find /path/to -name 'file*.txt' | grep -q '.'
Add Comment
Please, Sign In to add comment