fs.conf: file.content
authorTomas Zeman <tzeman@volny.cz>
Tue, 04 Oct 2011 15:35:58 +0200
changeset 16 8dd31c2c72a5
parent 15 18b6d38a95c9
child 17 9505016b06d7
fs.conf: file.content
conf/fs.conf
--- a/conf/fs.conf	Tue Oct 04 15:15:44 2011 +0200
+++ b/conf/fs.conf	Tue Oct 04 15:35:58 2011 +0200
@@ -3,6 +3,9 @@
 # Returns age of last modification time of file $1
 UserParameter=file.age[*],expr `date +%s` - `stat -f %m $1`
 
+# Returns file content
+UserParameter=file.content[*],cat $1
+
 # Returns count of files in directory $1
 UserParameter=dir.files[*],ls $1|wc -l