cancel
Showing results for 
Search instead for 
Did you mean: 

.ds_store and partitioned table in mac os

JQ
New Contributor
Hi, 

I partitioned a table to later load as hdb. but when start hdb with "./m32/q tablename". it will complaint about Mac OS's auto generated .DS_store files. I delete them then it works fine but those files will come back. Any experience to avoid these?

k){if[$[1>@d:!f:-1!x;1;`.d~*d];:.[$[qt d;*|`\:f;`.];();:;d:. f]];d@:&~d like"*$";p:(d=`par.txt)|d like"[0-9]*";
 ."\\cd ",$x;f .q.set'{$[0h>@!x:-1!x;. x;x`]}'f:d@&~(d=`html)|p|s:"."in'$d;if[|/p;L d@&p];if[~`.=x;(."\\l ",$:)'d@&s&~p];}
'.DS_Store
.:
`:.DS_Store
q.Q))\


Thanks
JQ
2 REPLIES 2

deanwilliams11
New Contributor
I use DS_Store Cleaner from http://ryan.grier.co/apps/
Dean

simon1
New Contributor
to avoid creating them over network connections:


on the local machine they only seem to get created if you browse the directories with Finder - not if you're using Terminal