aboutsummaryrefslogtreecommitdiff
path: root/stat-help.pd
diff options
context:
space:
mode:
Diffstat (limited to 'stat-help.pd')
-rw-r--r--stat-help.pd82
1 files changed, 82 insertions, 0 deletions
diff --git a/stat-help.pd b/stat-help.pd
new file mode 100644
index 0000000..b508018
--- /dev/null
+++ b/stat-help.pd
@@ -0,0 +1,82 @@
+#N canvas 59 135 710 533 10;
+#X msg 114 53 bang;
+#X text 156 53 run on current folder;
+#X symbolatom 6 490 0 0 0 3 filename - -;
+#X floatatom 29 385 0 0 0 3 file_mode - -;
+#X floatatom 175 385 0 0 0 3 User_ID - -;
+#X floatatom 271 385 0 0 0 3 Group_ID - -;
+#X floatatom 338 385 0 0 0 3 Device_ID - -;
+#X obj 5 107 print data;
+#X obj 163 165 route error;
+#X symbolatom 163 201 0 0 0 0 error - -;
+#X floatatom 419 385 0 0 0 3 File_Size - -;
+#X floatatom 480 363 0 0 0 3 Blocks_Allocated - -;
+#X floatatom 537 338 0 0 0 3 preferred_block_size - -;
+#X obj 79 8 bng 15 250 50 0 empty empty empty 0 -6 0 8 -24198 -1 -1
+;
+#X obj 79 26 openpanel;
+#X text 151 16 try it on any file (it doesn't change anything \, just
+reads data from the file system).;
+#X text 127 146 <-- set filename by cold inlet or object argument;
+#X obj 270 425 gid->group_name;
+#X symbolatom 270 454 0 0 0 3 group_name - -;
+#X obj 163 183 symbol;
+#X msg 127 79 symbol /tmp/this_file_doesn't_exist;
+#X text 244 186 errors are reported in Pd space;
+#X floatatom 98 385 0 0 0 3 hard_links - -;
+#X symbolatom 174 454 0 0 0 3 group_name - -;
+#X obj 174 425 uid->username;
+#X obj 91 147 stat;
+#X obj 77 203 list;
+#X obj 77 223 list split 9;
+#X obj 9 282 unpack symbol float float float float float float float
+float;
+#N canvas 0 22 458 308 time 0;
+#X obj 136 34 inlet;
+#X floatatom 19 193 6 0 0 3 days - -;
+#X floatatom 66 193 6 0 0 3 seconds - -;
+#X text 26 223 last access;
+#X floatatom 158 192 6 0 0 3 days - -;
+#X floatatom 205 192 6 0 0 3 seconds - -;
+#X text 144 220 last modification;
+#X floatatom 305 194 6 0 0 3 days - -;
+#X floatatom 352 194 6 0 0 3 seconds - -;
+#X text 290 222 last status change;
+#X obj 49 137 unpack float float float float float float;
+#X connect 0 0 10 0;
+#X connect 10 0 1 0;
+#X connect 10 1 2 0;
+#X connect 10 2 4 0;
+#X connect 10 3 5 0;
+#X connect 10 4 7 0;
+#X connect 10 5 8 0;
+#X restore 116 253 pd time stamps;
+#X msg 138 103 symbol /usr/bin/gcc;
+#X text 226 251 <-- open this to see the timestamps;
+#X connect 0 0 25 0;
+#X connect 4 0 24 0;
+#X connect 5 0 17 0;
+#X connect 8 0 19 0;
+#X connect 13 0 14 0;
+#X connect 14 0 25 0;
+#X connect 17 0 18 0;
+#X connect 19 0 9 0;
+#X connect 20 0 25 0;
+#X connect 24 0 23 0;
+#X connect 25 0 7 0;
+#X connect 25 0 26 0;
+#X connect 25 0 28 0;
+#X connect 25 1 8 0;
+#X connect 26 0 27 0;
+#X connect 27 0 28 0;
+#X connect 27 1 29 0;
+#X connect 28 0 2 0;
+#X connect 28 1 3 0;
+#X connect 28 2 22 0;
+#X connect 28 3 4 0;
+#X connect 28 4 5 0;
+#X connect 28 5 6 0;
+#X connect 28 6 10 0;
+#X connect 28 7 11 0;
+#X connect 28 8 12 0;
+#X connect 30 0 25 0;