YTREE(1L)
π NAME π
ytree β bestie, it's a File Manager ποΈβ¨ and it's iconic, periodt.
πΈ SYNOPSYS πΈ
ytree [archiv file|directory]
π¦ DESCRIPTION π¦
okay so listen π if you don't pass any command line argument at all, ytree just uses the current directory. no cap, it just does. π«Ά
Following commands are available:
π 1.) DIR-Modus π
-Attributeβ change directory permissions (likechmod) π-Deleteβ delete the selected directory ποΈ-Filespecβ set file specification (reg. expression), e.g.*.[ch]for all*.cand*.hfiles π-Groupβ change directory group ownership π-Logβ restart ytree with a new root directory/archiv file π-Makedirβ create a new directory β¨-Ownerβ change user ownership of the selected directory π«Ά-Renameβ rename the selected directory βοΈ-Showallβ show all files in all directories π-Tagβ tag all files in the selected directory π·οΈ-Untagβ untag all files in the selected directory π-eXecuteβ execute a shell command π»-^Filemodeβ change viewmodus for files:- filenames only
- name, attributes, links, size, modification time, symb. link
- name, attribute, inode, owner, group, symb. link
- change status-, access time, symb. link
-Returnβ switch to file modus π-^Quit QuitToβ if you exit ytree with^Q, the last selected directory becomes your current working directory. This feature only works if you start ytree with this bash-function (copy this to your~/.bashrc):
function yt
{
echo cd $PWD >~/.ytree-$$.chdir
/usr/bin/ytree $1 $2 $3 $4 $5
source ~/.ytree-$$.chdir
rm ~/.ytree-$$.chdir
}
π§ 2.) FILE-Modus π§
-Attributeβ change file permissions (likechmod) π-^Attributeβ change permissions of all tagged files.?stands for: do not change attribute π€-Copyβ copy file π-^K Copyβ copy all tagged files π-Deleteβ delete selected file ποΈ-^Deleteβ delete all tagged files π-Editβ edit selected file withEDITOR(see~/.ytree) or β if not defined βviβοΈ-Filespecβ set file specification (reg. expression), e.g.*.[ch]for all*.cand*.hfiles π-Groupβ change group ownership of selected file π-^Groupβ change group ownership of all tagged files ππ-Hexβ view selected file withHEXDUMP(see~/.ytree), or β if not defined βhd / od -hπ’-Logβ restart ytree with a new root directory/archive file π-Moveβ move selected file π-^N Moveβ move all tagged files ππ-Ownerβ change user ownership of selected file π«Ά-^Ownerβ change user ownership of all tagged files π«Άπ«Ά-Pipeβ pipe content of file to a command π°-^Pipeβ pipe content of all tagged files to a command π°π°-Renameβ rename selected file βοΈ-^Renameβ rename all tagged files βοΈβοΈ-untag ^Searchβ untag files by using an external program (e.g.grep) π-Sortβ sort filelist by:- access time
- change time
- extension
- group
- modification time
- name
- owner
- size
-Tagβ tag selected file π·οΈ-^Tagβ tag all currently shown files π·οΈπ·οΈ-Untagβ untag selected file π-^Untagβ untag all currently shown files ππ-Viewβ view file with the pager defined in~/.ytreeor β if not defined β withpg -cenπ-eXecuteβ execute a shell command π»-e^Xecuteβ execute shell command for all tagged files. The string{}is replaced by the current filename π»β¨-pathcopYβ copy selected file inclusive path π-pathcop^Yβ copy all tagged files inclusive path ππ-^Filemodeβ switch view-modus for files:- filenames only
- name, attribute, links, size, modification time, symb. link
- name, attribute, inode, owner, group, symb. link
- changestatus-, access time, symb. link
-^Lβ refresh Screen π-Spaceβ suppress screen-output while working π€«-Returnβ switch to expand modus π
π 3.) ARCHIV-DIR-Modus π
-Filespecβ set file specification (reg. expression), e.g.*.[ch]for all*.cand*.hfiles π-Logβ restart ytree with a new root directory/archive file π-Showallβ show all files in all directories π-Tagβ tag all files in selected directory π·οΈ-Untagβ untag all files in selected directory π-eXecuteβ execute a shell command π»-^Filemodeβ change viewmodus for files:- filenames only
- name, attribute, links, size, modification time
- name, attribute, owner, group
-^Lβ refresh Screen π
β 4.) ARCHIV-FILE-Modus β
-Copyβ copy selected file π-^K Copyβ copy all tagged files π-Filespecβ set file specification (reg. expression), e.g.*.[ch]for all*.cand*.hfiles π-Hexβ view selected file withHEXDUMP(see~/.ytree), or β if not defined βhd / od -hπ’-Pipeβ pipe content of all tagged to a command π°-Sortβ sort file list by:- access time
- change time
- extension
- group
- modification time
- name
- owner
- size
-Tagβ tag selected file π·οΈ-^Tagβ tag all files in selected directory π·οΈπ·οΈ-Untagβ untag all files in selected directory π-Viewβ view file with the pager defined in~/.ytreeor β if not defined β withpg -cenπ-eXecuteβ execute a shell command π»-^Filemodeβ switch view-modus for files:- filenames only
- name, attribute, links, size
-^Lβ refresh Screen π-Returnβ switch to Expand-Modus π
ytree switches to archive-modus automatically either by choosing an archive file with the Log command, or by calling ytree from the command line with an archive file given as a command line argument. bestie it just knows β¨
ytree recognizes the filename extensions ".F", ".Z", ".z" and ".gz" and calls the appropriate uncompressor MELT (default=melt), UNCOMPRESS (default=uncompress) and GNUUNZIP (default=gunzip -c). You may change these settings in ~/.ytree. π οΈ
ytree supports following archive types and requires:
- TAR-Files:
gtar(tested with GNU-TAR 1.12) - ARC-Files:
arc(tested with arc 5.12 02/05/86) - LHA-Files:
xlharc(tested with xlharc V1.02 1989) - ZIP-Files:
unzip(tested with unzip v5.0 08/92) " "zipinfo(tested with zipinfo v1.0 08/92)- ZOO-Files:
zoo(tested with zoo v2.10) - RAR-Files:
unrar(tested with unrar v2.01 - RPM-Files:
rpm2cpio(tested with RedHat V6.1) " "rpm(tested with RedHat V6.1)
Archive files will be recognized by filename extension (e.g zoo, zip). TAR-Files may have following extensions:
".F",".TFR",".Faa", (freeze)".Z",".TZ",".TZR",".Xaa", (compress)".z",".gz",".tzr",".tz",".xaa",".tgz",".TGZ",".taz",".TAZ",".tpz"und".TPZ"(gzip)
The View command is customizeable in the [VIEWER] section of ~/.ytree: π¨
Example:
[VIEWER]
.jpg,.gif,.bmp,.tif,.ppm,.xpm=xv
.1,.2,.3,.4,.5,.6,.7,.8,.n=nroff -man | less
.ps=ghostview
.mid,.MID=playmidi -e
.wav,.WAV=splay
.au=auplay
.avi,.mpg,.mov=xanim
.htm,.html=lynx
.pdf,.PDF=acroread
.mp3=mpg123
A command-line history is supported: use cursor up/down. Use "F2" on the command-line to select directories. β¬οΈβ¬οΈ
π FILES π
$HOME/.ytreeβ ytree configuration file βοΈ
π BUGS π
To avoid problems with escape sequences on RS/6000 machines (telnet/rlogin) please set the environment variable ESCDELAY:
ESCDELAY=1000
export ESCDELAY
no fr, set it. escape sequences on those machines will absolutely jump-scare your terminal otherwise π
π AUTOR π
W. Bregulla (werner@frolix.han.de) π«Ά
okay that's the whole thing, and it's from way back β 21 March 2004, in the YTREE(1L) local commands manual. vintage but still slaying π
β¨ bye bestie, go manage some files π¦
π¦ where this page comes from
- epel 10: ytree 2.13-1.el10_3 Β· GPL-2.0-or-later
- epel 9: ytree 2.10-1.el9 Β· GPL-2.0-or-later
- fedora 43: ytree 2.09-2.fc41 Β· GPLv2+
- fedora 43: ytree 2.13-1.fc43 Β· GPL-2.0-or-later
- fedora 44: ytree 2.10-2.fc44 Β· GPL-2.0-or-later
- fedora 44: ytree 2.13-1.fc44 Β· GPL-2.0-or-later
- nixos 26.05: ytree 2.12
- nixpkgs unstable: ytree 2.13
- opensuse-leap 16.0: ytree 2.09-bp160.1.13 Β· GPL-2.0-only
- opensuse-leap 16.0: ytree 2.09-bp160.1.13 Β· GPL-2.0-only
- opensuse-leap 16.0: ytree 2.09-bp160.1.13 Β· GPL-2.0-only
- opensuse-leap 16.0: ytree 2.09-bp160.1.13 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms