If Then: File Operations Flashcards
1
Q
-s
A
file exist and is not empty
2
Q
-f
A
file exist and is not a directory
3
Q
-d
A
directory exists
4
Q
-x
A
file is executable
5
Q
-w
A
file is writable
6
Q
-r
A
file is readable