equal
deleted
inserted
replaced
1 # Filesystem related parameters |
1 # Filesystem related parameters |
2 |
2 |
3 # Returns age of last modification time of file $1 |
3 # Returns age of last modification time of file $1 |
4 UserParameter=file.age[*],expr `date +%s` - `stat -f %m $1` |
4 UserParameter=file.age[*],expr `date +%s` - `stat -f %m $1` |
|
5 |
|
6 # Returns file content |
|
7 UserParameter=file.content[*],cat $1 |
5 |
8 |
6 # Returns count of files in directory $1 |
9 # Returns count of files in directory $1 |
7 UserParameter=dir.files[*],ls $1|wc -l |
10 UserParameter=dir.files[*],ls $1|wc -l |
8 |
11 |
9 # Returns 0 if bzip2 test of file $1 passed. |
12 # Returns 0 if bzip2 test of file $1 passed. |