Sign inSign up

u1and0/plocate

By u1and0

Updated about 3 years ago

plocate - find files by name, quickly

Image
0

1.6K

u1and0/plocate repository overview

CRON_CYCLE で指定したサイクルでupdatedbを定期実行し、 locate (plocate) コマンドの実行を待ち受ける

Usage:

  1. Create database

$ docker run --name app -t --rm
-v /mnt:/mnt
-e TZ='Asia/Tokyo'
-e UPDATEDB_PATH=/mnt \ # default /
-e OPTION=--verbose
-e cron_cycle="*/2 * * * *" \ # default @midnight u1and0/updatedb

  1. Search words

$ docker exec -t locate OPTION... PATTERN...

Tag summary

Content type

Image

Digest

sha256:06ac5e915

Size

685.5 MB

Last updated

about 3 years ago

docker pull u1and0/plocate