This repository WAS
python scripts collection to solve different system tasks.
Now to see what it is, you need to look python toolbox --help
usage: toolbox [-h] [-l] [-i INSPECT] [-e [EXECUTE ...]]
script to manage/invoke different system script of this package
options:
-h, --help show this help message and exit
-l, --list list all available scripts
-i INSPECT, --inspect INSPECT
read detailed information about provided script
-e [EXECUTE ...], --execute [EXECUTE ...]
execute existing script
Destroy directory tree and move all files to top directory.
This script is dedicated to sort directory by chosen extensions.
Example:
sortdir audio=.flac,.wav,.mp3 arcs=.zip,.rar docs=.docx, .docx,.pdf
Also it has optional argument -wd
. It can be places anywhere.
So it forces script to walk through whole directory tree, not only current working directory.
So this utility takes different number of arguments, where left is name of directory and right values
are extension, that will be moved into mentioned directories. Directories are created from current working directory.
Purpose of this script is obvious, but it was written to avoid problems, that may occur when you use directory sorting
script, because there may be files with the same names, but placed in different directories, so some files will not be moved.
To avoid this problem simply use this tiny script.
Very simple script to avoid echo blabla.c~ >> .gitignore.
Script change case of provided files to lower/upper.
Script retrieves names of each column of specified table from sqlite3 table.
Usage example: python gtcn.py places.sqlite table1 [table2 ... tableN]
This script shows visiting frequency of each page from history.
Basic usage:python foxhist.py root
To define minimal visiting counter pass cap parameter:
Example:python foxhist.py root cap=n
Also you can specify location of database file:
Example:python foxhist.py root db=place
Also you can compute frequence char-by-char, omitting root argument. It means, if some url is different from
another one in terms of strings, then they are different urls. It doesn't matter they have the same hostname.