-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1




Markus Törnqvist wrote: | On Thu, Jul 22, 2004 at 09:45:26PM -0500, David Masover wrote: | |>| UPDATE formatting SET policy='never\0' WHERE policy='smart\0' RECURSE; |>| instead of just |>| UPDATE formatting SET policy='never\0' RECURSE; |>| which may break something else... |> |>Both should be allowed. Can that be done now? And with echo, not SQL. | | | I can't check now but maybe: | | for dir in $(find . -type d); do | format=$(cat $dir/..metas/plugin/formatting) | if [ $format == "smart\0" ]; then | echo -e 'never\0' > $format | for file in $(find $dir -type f); do | cat file > /dev/null | done | fi | done

I was thinking a plugin.  Also, "metas" is _still_ the default on the
auto snapshots.  I change it to '...' whenever I feel like looking at
the code.

"find -type d" would most likely not work.  I'm thinking of an attribute
which would apply to every type of object, including files, also files
which are directories, and so on.  Mainly just a few flags -- right now
I'm thinking "never purge me from cache" and "I'm a stub; if something
actually tries accessing me, pull me from the network."


-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iQIVAwUBQQFXDXgHNmZLgCUhAQIsSBAAiThNM1TkyvVQzkhK48RPzrAlM8T3rYTW
QWYCdY5TjIQ5svt/m+hj27HPAFh1PCU/ZtRIE3lv01eGHmlz5/560r2v3VAIHlpn
GQEJaw587hcvN+owUsj4PgajIWX1tJJ5fiyfV3Llq6QqJhb6jm8UxH9mX/03Gz0d
p76AbtBF0z8xDxt87lEwTrhxWZmgas1H+qyPnCR1F4fFEn54H7DA4Sp9e+5rqtGJ
8p9kXlYgjigfxjITkXCYlA3k/9K3+T7bWvlM16P8Buf9O4HaUKhAv/s1mAx6iJVy
FUPxzaz9hF169O89RGWAbbyxZ9k2Z7+VK9sxLoiqkTRKNqBfZv8sdQyQ9r9ZwBxc
HKfF2Ndzjd3pR/NES1ukvECHqjsSmXI3fRFBB80x+o1hM/+MvoZjtCcn3H/Aes96
yKgwR3UFYnZfBi9PHOdQn2sOfGXJaEj1n37QeuyGEAmUZb/5Zf/ukMfYyhBfgqPY
rZw7QSY71bhrbRu0k1/cZ6kkEvdyAA90+nAzwyHMqLktPZ/uZc324HfyudrAb6cy
g7x3mM8Jj5Wm7XK1lD6OU1EsJQcNNt/dsRdZgT82tX4w+ZRbedYEhWqCM1ER83OS
pwmWTiumpxbDgCWyrEDOyHtfihPJkPmz4xBHytKrX/pRKVCqNl28UPw32gJA0P4i
uwkYWv8vnDI=
=2D+S
-----END PGP SIGNATURE-----

Reply via email to