Files of check-in [e146a1735c]
in the top-level directory
Maciej Helminiak <email@example.com>
Tfman is text file manager managing files via textual representation of file
system (being ordinary text). It can scan directories to create textual
representation or parse textual representation to retrieve actions specified by
. Written in C for Unix-like systems.
. Does not depend on external libraries.
. Can cooperate with command-line tools, like Sed, via standard input and output streams.
. Can be integrated with text editing tools, like Vim.
Tfman has two working modes: scan mode and parse mode.
The scan mode performs scanning on specified part of file system (directory or
whole tree of directories) and composes textual representation of it. Result is
send to standard output (this is default) or written to a file.
Created textual representation is formatted in a manner allowing direct use in
parse mode. User can edit it as normal text and add action tags.
The parse mode retrieves actions specified in textual representation and
performs them on file system. Textual representation is read from standard
input (default) or from file. Multiple actions of same or different types can be
specified on multiple entries, whole directories and groups.
The textual representation must be in specific format (but it is still ordinary
text) and actions are named by tags.
Tfm is convenience tool that combines scan mode and parse mode to make Tfman
use easier. It does scanning of directories, editing textual representation and
parsing result in one step.
- scan file system and compose its textual representation
- recursive scan
- customize format of entries
- customize sorting order
- auto adjust result to ease actions adding
- parse textual representation and perform multiple actions of many kinds
- actions for groups of entries, actions for whole directories
- shell-like brace expansion and globbing
- three ways of entries naming: absolute, relative to execution directory,
relative to in-text parent directory
- edit textual representation as text
- use favorite text editor
- use tfman from within vim as multi-window text file manager
- scan, edit and parse in one step with Tfm tool
- cooperate with other console programs through stdin and stdout
- reuse textual representation many times
- perform sofisticated combinations of actions on whole parts of file system
- integration with text editing tools, like Vim
I consider this software experimental. I have not came across any other
program that would manipulate file system in similar way - through textual
representation. Therefore usefulness of this kind of approach to manage
file system is not proven.
Tfman is not yet tested well. It works as expected and i have tested its
features as much as i could, but many unrevealed bugs definitely hide somewhere
down there in the code.
Therefore use it with care and avoid manipulating sensitive data with it. I can
not take any responsibility for damage caused.
- Project's home page: http://chiselapp.com/user/machel/repository/tfman/home
- Project's repository: http://chiselapp.com/user/machel/repository/tfman/tree?ci=tip
- Report Bugs: http://chiselapp.com/user/machel/repository/tfman/reportlist
DOCUMENTTION SHIPPED WITH SOURCES:
Documentation is in '.doc' directory
Tfman should compile and work on all Unix-like systems with GCC or CLang
compiler installed, however I tested it only under Linux. Makefile shipped with
sources utilizes GCC feature (present also in Clang) to automaticaly create
dependencies and will not work with other compilers. Many GNU Make specific
features are used as well, they surely do not work with other Make flavors.
Thus, requirements to build Tfman are:
- Unix-like system
- GCC or Clang
- GNU Make
install from sources
download sources tarbal: http://chiselapp.com/user/machel/repository/tfman/doc/tip/.packages/current.tar.gz
Then follow procedure:
$ tar -xvf current.tar.gz
$ cd tfman-VER
# make install
# make uninstall
build package from arch linux AUR
Arch Linux users only
download package aurball: http://chiselapp.com/user/machel/repository/tfman/doc/tip/.packages/current_aur.tar.gz
or from AUR: https://aur.archlinux.org/packages/tfman/
Then follow procedure:
$ tar -xvf current_aur.tar.gz
$ cd tfman
# pacman -U tfman-VER.pkg.tar.xz
# pacman -R tfman
Tfman is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Tfman is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Tfman. If not, see <http://www.gnu.org/licenses/>.
Author: Maciej Helminiak firstname.lastname@example.org