Find /gpfs/scratch/username - Atime +21: For String Comparisons Use Operator Meaning
Find /gpfs/scratch/username - Atime +21: For String Comparisons Use Operator Meaning
Operator Meaning
string1 = string2 string1 is equal to string2
string1 != string2 string1 is NOT equal to string2
string1 string1 is NOT NULL or not defined
-n string1 string1 is NOT NULL and does exist
-z string1 string1 is NULL and does exist
Shell also test for file and directory types
Test Meaning
True if file exists
-a file
True if file exists and is a block special
-b file file.
string1==string2
string1=string2
True if the strings are equal. When used with the [[ command, this performs
pattern matching as described above (see Conditional Constructs).
string1!=string2
True if the strings are not equal.
string1<string2
True if string1 sorts before string2 lexicographically.
string1>string2
True if string1 sorts after string2 lexicographically.
arg1OParg2
OP is one of eq, ne, lt, le, gt, or ge. These arithmetic binary
operators return true if arg1 is equal to, not equal to, less than, less than or
equal to, greater than, or greater than or equal to arg2, respectively. Arg1
and arg2 may be positive or negative integers.