1YTREE(1L) LOCAL COMMANDS YTREE(1L)
2
3
4
6 ytree - File Manager -
7
8
10 ytree [archiv file|directory]
11
12
14 If there is no command line argument, the current directory will be
15 used.
16
17 Following commands are available:
18
19 1.) DIR-Modus:
20
21 -Attribute
22 Change directory permissions (like chmod)
23
24 -Delete
25 Delete selected directory
26
27 -Filespec
28 Set file specification (reg. expression) e.g. *.[ch] for all *.c
29 and *.h - Files
30
31 -Group Change directory group ownership
32
33 -Log Restart ytree with new root directory/archiv file
34
35 -Makedir
36 Create new directory
37
38 -Owner Change user ownership of selected directory
39
40 -Rename
41 Rename selected directory
42
43 -Showall
44 Show all files in all directories
45
46 -Tag Tag all files in selected directory
47
48 -Untag Untag all files in selected directory
49
50 -eXecute
51 Execute a shell command
52
53 -^Filemode
54 Change viewmodus for files:
55 - filenames only
56 - name, attributes, links, size,
57 modification time, symb. link
58 - name, attribute, inode, owner, group, symb. link
59 - change status-, access time, symb. link
60
61 -Return
62 Switch to file modus
63
64 -^Quit QuitTo: If you exit ytree with ^Q, the last selected directory
65 becomes your current working directory. This feature only works
66 if you start ytree with this bash-function (copy this to your
67 ~/.bashrc):
68
69 function yt
70 {
71 echo cd $PWD >~/.ytree-$$.chdir
72 /usr/bin/ytree $1 $2 $3 $4 $5
73 source ~/.ytree-$$.chdir
74 rm ~/.ytree-$$.chdir
75 }
76
77
78 2.) FILE-Modus
79
80 -Attribute
81 Change file permissions (like chmod)
82
83 -^Attribute
84 Change permissions of all tagged files. ? stands for: do not
85 change attribute
86
87 -Copy Copy file
88
89 -^K Copy
90 Copy all tagged files
91
92 -Delete
93 Delete selected file
94
95 -^Delete
96 Delete all tagged files
97
98 -Edit Edit selected file with EDITOR (see ~/.ytree) or - if not
99 defined - vi
100
101 -Filespec
102 Set file specification (reg. expression) e.g. *.[ch] for all *.c
103 and *.h - Files
104
105 -Group Change group ownership of selected file
106
107 -^Group
108 Change group ownership of all tagged files
109
110 -Hex View selected file with HEXDUMP (see ~/.ytree), or - if not
111 defined - hd / od -h
112
113 -Log Restart ytree with new root directory/archive file
114
115 -Move move selected file
116
117 -^N Move
118 Move all tagged files
119
120 -Owner Change user ownership of selected file
121
122 -^Owner
123 Change user ownership of all tagged files
124
125 -Pipe Pipe content of file to a command
126
127 -^Pipe Pipe content of all tagged files to a command
128
129 -Rename
130 Rename selected file
131
132 -^Rename
133 Rename all tagged files
134
135 -untag ^Search
136 Untag files by using an external program (e.g. grep)
137
138 -Sort Sort filelist by
139 - access time
140 - change time
141 - extension
142 - group
143 - modification time
144 - name
145 - owner
146 - size
147
148 -Tag Tag selected file
149
150 -^Tag Tag all currently shown files
151
152 -Untag Untag selected file
153
154 -^Untag
155 Untag all currently shown files
156
157 -View View file with the pager defined in ~/.ytree or - if not defined
158 - with pg -cen
159
160 -eXecute
161 Execute a shell command
162
163 -e^Xecute
164 Execute shell command for all tagged files. The string {} is
165 replaced by the current filename
166
167 -pathcopY
168 Copy selected file inclusive path
169
170 -pathcop^Y
171 Copy all tagged files inclusive path
172
173 -^Filemode
174 Switch view-modus for files:
175 - filenames only
176 - name, attribute, links, size, modification time,
177 symb. link
178 - name, attribute, inode, owner, group, symb. link
179 - changestatus-, access time, symb. link
180
181 -^L Refresh Screen
182
183 -Space Suppress screen-output while working
184
185 -Return
186 Switch to expand modus
187
188 3.) ARCHIV-DIR-Modus
189
190 -Filespec
191 Set file specification (reg. expression) e.g. *.[ch] for all *.c
192 and *.h - Files
193
194 -Log Restart ytree with new root directory/archive file
195
196 -Showall
197 Show all files in all directories
198
199 -Tag Tag all files in selected directory
200
201 -Untag Untag all files in selected directory
202
203 -eXecute
204 Execute a shell command
205
206 -^Filemode
207 Change viewmodus for files:
208 - filenames only
209 - name, attribute, links, size, modification time
210 - name, attribute, owner, group
211
212 -^L Refresh Screen
213
214 4.) ARCHIV-FILE-Modus:
215
216 -Copy Copy selected file
217
218 -^K Copy
219 Copy all tagged files
220
221 -Filespec
222 Set file specification (reg. expression) e.g. *.[ch] for all *.c
223 and *.h - Files
224
225 -Hex View selected file with HEXDUMP (see ~/.ytree), or - if not
226 defined - hd / od -h
227
228 -Pipe Pipe content of all tagged to a command
229
230 -Sort Sort file list by
231 - access time
232 - change time
233 - extension
234 - group
235 - modification time
236 - name
237 - owner
238 - size
239
240 -Tag Tag selected file
241
242 -^Tag Tag all files in selected directory
243
244 -Untag Untag all files in selected directory
245
246 -View View file with the pager defined in ~/.ytree or - if not defined
247 - with pg -cen
248
249 -eXecute
250 Execute a shell command
251
252 -^Filemode
253 Switch view-modus for files:
254 - filenames only
255 - name, attribute, links, size
256
257 -^L Refresh Screen
258
259 -Return
260 Switch to Expand-Modus
261
262 ytree switches to archive-modus automatically either by choosing an ar‐
263 chive file with the Log command or by calling ytree from the command
264 line with an archive file given as a command line argument.
265
266 ytree recognize the filename extensions ".F", ".Z", ".z" and ".gz" and
267 calls the appropriate uncompressor MELT (default=melt), UNCOMPRESS
268 (default=uncompress) and GNUUNZIP (default=gunzip -c). You may change
269 these settings in ~/.ytree.
270
271 ytree supports following archive types and requires:
272
273 TAR-Files: gtar (tested with GNU-TAR 1.12)
274 ARC-Files: arc (tested with arc 5.12 02/05/86)
275 LHA-Files: xlharc (tested with xlharc V1.02 1989)
276 ZIP-Files: unzip (tested with unzip v5.0 08/92)
277 " " zipinfo (tested with zipinfo v1.0 08/92)
278 ZOO-Files: zoo (tested with zoo v2.10)
279 RAR-Files: unrar (tested with unrar v2.01
280 RPM-Files: rpm2cpio (tested with RedHat V6.1)
281 " " rpm (tested with RedHat V6.1)
282
283 Archive files will be recognized by filename extension (e.g zoo, zip).
284 TAR-Files may have following extensions:
285
286 ".F", ".TFR", ".Faa", (freeze)
287 ".Z", ".TZ", ".TZR", ".Xaa", (compress)
288 ".z", ".gz", ".tzr", ".tz", ".xaa", ".tgz", ".TGZ",
289 ".taz", ".TAZ", ".tpz" und ".TPZ" (gzip)
290
291
292 The View command is customizeable in the [VIEWER] section of ~/.ytree:
293
294 Example:
295
296 [VIEWER]
297 .jpg,.gif,.bmp,.tif,.ppm,.xpm=xv
298 .1,.2,.3,.4,.5,.6,.7,.8,.n=nroff -man | less
299 .ps=ghostview
300 .mid,.MID=playmidi -e
301 .wav,.WAV=splay
302 .au=auplay
303 .avi,.mpg,.mov=xanim
304 .htm,.html=lynx
305 .pdf,.PDF=acroread
306 .mp3=mpg123
307
308 A command-line history is supported: Use cursor up/down. Use "F2" on
309 the command-line to select directories.
310
311
312
314 $HOME/.ytree ytree configuration file
315
316
317
319 To avoid problems with escape sequences on RS/6000 machines (tel‐
320 net/rlogin) please set the environment variable ESCDELAY:
321
322 ESCDELAY=1000
323 export ESCDELAY
324
325
327 W. Bregulla (werner@frolix.han.de)
328
329
330
331 21 March 2004 YTREE(1L)