description | useful LD_PRELOAD-able libraries for Linux |
repository URL | git://git.dyn.uucp.hu/sysop/ld-preload-libs/ |
owner | BLH6T4@uucp.hu |
last change | Sun, 11 Aug 2024 14:13:17 +0000 (11 16:13 +0200) |
last refresh | Thu, 12 Sep 2024 14:02:40 +0000 (12 16:02 +0200) |
mirror URL | git://repo.or.cz/hband-ld-preload-libs.git |
https://repo.or.cz/hband-ld-preload-libs.git | |
ssh://git@repo.or.cz/hband-ld-preload-libs.git | |
bundle info | hband-ld-preload-libs.git downloadable bundles |
content tags |
autossl.so
upgrades plaintext network sockets to SSL/TLS transparently
for TCP client applications with the help of external program. See
description and usage docs in the source file.
recyclix.so
is an LD_PRELOAD
-able shared library intercepting file deletions and
moving files to recycle bin (trash can) folder.
It can be configured via environment variable RECYCLER
, whiches format is:
RECYCLER=<DIR>[,<SIZE_LIMIT>][,!<EXCLUDE_PATTERN>][:<DIR>[,<SIZE_LIMIT>][,!<EXCLUDE_PATTERN>][:<DIR>...]]
where <SIZE_LIMIT>
is <N><UNIT>[-<N><UNIT>]
indicating minimum and optional maximum file size which
recyclix saves; <EXCLUDE_PATTERN>
is a regexp pattern which if matches to the file name, the file is ignored.
Multiple recycle bin definitions are supported, ideally one for each filesystem.
Examples:
RECYCLER='~/.Recycler,10M'
RECYCLER='~/Trash,100B-1G,!(\.bak|~)$'
RECYCLER='~/.Recycler,1k:/mnt/sdb/home/johndoe/.Recycler,!\.bak$,1k-100M:/var/deleted-files,!(\.bak|-)$'
It saves about-to-be deleted files in that recycle bin which is on the same filesystem (partition) as the file.
The file is not gonna be saved if there is no recycle bin on the filesystem according to $RECYCLER
.
It keeps the file's path relative to the filesystem's mountpoint in the recycle bin too, so /home/johndoe/src/xyz/file
goes to /home/johndoe/.Recycler/johndoe/src/xyz/file
provided that /home
is the mountpoint. It overwrites
the file in the recycle bin if it already exists.
The following flow chart illustrates its inner working:
Please submit issues via PR to some file <TITLE>.txt
or <TITLE>.md
on issues
branch.
3 months ago | master | logtree |
4 months ago | dontcallshell | logtree |
4 months ago | repo-mgmt | logtree |
3 years ago | connredir | logtree |
4 years ago | issues | logtree |
4 years ago | enhance-lib-pathrewrite | logtree |
5 years ago | libopenhlp | logtree |