Difference between revisions of "Dmuse: File manager"

From CCARH Wiki
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 14: Line 14:
 
! scope="col" width="500px" | Description
 
! scope="col" width="500px" | Description
 
|-
 
|-
| <tt>l</tt> || list current directory (each item is assigned a number)
+
| <tt>l</tt> || List files/subdirectories within the current directory in short format.  The list will consists of two columns of alphabetically-sorted entries.  Each entry contains three components: (1) an enumeration, (2) an abbreviated filename (up to eight characters from the start of the filename, plus up to three characters of the file extension), and (3) the size of the file in bytes or megabytes.
 
|-
 
|-
| <tt>ldu</tt> || list files in short format with disk usage
+
| <tt>ldu</tt> || List files in short format, as with "<tt>l</tt>", but add disk usage line which reports the total number of bytes contained within files found in the current directory.
 
|-
 
|-
| <tt>ll</tt> || list files in long format (full names)
+
| <tt>ll</tt> || List files/subdirectories in long format.  There will be a single column of entries, with three components to each entry: (1) an enumeration, (2) the complete filename (not abbreviated), and (3) the size of the file in bytes or megabytes.
 
|-
 
|-
| <tt>lldu</tt> || list files in long format with disk usage
+
| <tt>lldu</tt> || List files in long format with disk usage message.
 
|-  
 
|-  
| <tt>ls</tt> || unix-style directory listing
+
| <tt>ls</tt> || Unix-style directory listing: a single column of entires, with four elements per entry: (1) the size of the file in bytes or megabytes, (2) the day on which the entry was created/modified, (3) the time of date of the creation/modification, and (4) the unabbreviated file/subdirectory name.
 
|-
 
|-
| colspan="2" | Without an argument, each of the above commands lists the current directory.  If an argument is given, it is the directory to list.  The argument "." is the current directory, and ".." is the parent directory.
+
| colspan="2" | Without an argument, each of the above commands lists the current directory.  If a directory name is given as an argument after the command name, it is the directory to list.  The special argument "." is the current directory (default), and ".." is the parent directory.
 
|-
 
|-
| <tt>&lt;number&gt;</tt> || change to sub-directory, or load file (depending on number which is printed immediately to the left of the file/directory name).
+
| <tt>&lt;number&gt;</tt> || Either change to specified sub-directory, or load specified file, where &lt;number&gt; is the enumeration number printed immediately to the left of the file/directory name in the <tt>l</tt>/<tt>ll</tt>/<tt>ldu</tt>/<tt>lldu</tt> command results.
 
|-
 
|-
| <tt>b</tt> || go to parent directory (back)
+
| <tt>b</tt> || "back": go to the parent directory, for example if the current directory is <tt>/usr/local/dmuse</tt>, then after executing the command "b", the current directory will be <tt>/usr/local</tt>.
 
|-
 
|-
| <tt>c &lt;dir&gt;</tt> || change to the specified directory
+
| <tt>c &lt;dir&gt;</tt> || Change to the specified directory (the name of a subdirectory, not an enumeration number).
 
|-
 
|-
| <tt>ad &lt;dir name&gt;</tt> || add sub-directory or directory to THE_DUMP
+
| <tt>ad &lt;dir name&gt;</tt> || add sub-directory or directory to [[Dmuse: THE_DUMP|THE_DUMP]]
 
|-
 
|-
 
| <tt>del &lt;file/dir&gt;</tt> || delete file or directory to THE_DUMP
 
| <tt>del &lt;file/dir&gt;</tt> || delete file or directory to THE_DUMP

Latest revision as of 04:02, 13 October 2010

The resident file manager for Dmuse will appear if you press F4. Below is an example of what the file manager looks like. In this example, the command "l" has just been executed to list the files/directories in the current directory (c:/usr/local/apps/musedata/baroque/bach/bg/keybd/wtc_ii). If you then wanted to go into the 0881 directory, you would type 12 and then Enter.

Dmuse-filemanager.png


File manager commands

Command Description
l List files/subdirectories within the current directory in short format. The list will consists of two columns of alphabetically-sorted entries. Each entry contains three components: (1) an enumeration, (2) an abbreviated filename (up to eight characters from the start of the filename, plus up to three characters of the file extension), and (3) the size of the file in bytes or megabytes.
ldu List files in short format, as with "l", but add disk usage line which reports the total number of bytes contained within files found in the current directory.
ll List files/subdirectories in long format. There will be a single column of entries, with three components to each entry: (1) an enumeration, (2) the complete filename (not abbreviated), and (3) the size of the file in bytes or megabytes.
lldu List files in long format with disk usage message.
ls Unix-style directory listing: a single column of entires, with four elements per entry: (1) the size of the file in bytes or megabytes, (2) the day on which the entry was created/modified, (3) the time of date of the creation/modification, and (4) the unabbreviated file/subdirectory name.
Without an argument, each of the above commands lists the current directory. If a directory name is given as an argument after the command name, it is the directory to list. The special argument "." is the current directory (default), and ".." is the parent directory.
<number> Either change to specified sub-directory, or load specified file, where <number> is the enumeration number printed immediately to the left of the file/directory name in the l/ll/ldu/lldu command results.
b "back": go to the parent directory, for example if the current directory is /usr/local/dmuse, then after executing the command "b", the current directory will be /usr/local.
c <dir> Change to the specified directory (the name of a subdirectory, not an enumeration number).
ad <dir name> add sub-directory or directory to THE_DUMP
del <file/dir> delete file or directory to THE_DUMP
ddel <file/dir> delete file or directory (all contents lost)
ren <file/dir> <new name> rename file or dir to new name
copy <file/dir> <new name> copy file or dir to new name
move <file/dir> move file or dir to new directory
smove <file/dir> save and move file or dir to new dir
<disk letter>: change disk volume
q show full path for current disk
qq show full paths for all disk letters (directory bookmarks)
PgUp/PgDn scroll up/down in file manager window a page at a time
Shft+/ scroll down/up in file manager window a line at a time
, , , move cursor
Ctrl+/ scroll up or down in window
Home go to top of window
End go to bottom of window
Shft+KeyPad - clear window at and below cursor
KeyPad - clear line to right of cursor
? print a help screen with basic commands.
?? print a second help screen with more commands and information.
Esc Exit from the file manager and return to the main Dmuse screen.

Use of wildcards in names

The commands move, smove, del and ddel may include wildcard characters in their first argument. The commands ren and copy do not allow wildcards.

Wildcard Description
* match 0 or more characters
? match exactly one character
*? special case: match 0 or more characters, no dots (.) allowed.
*.* string with at least one dot (.) character
*?.*? string with exactly one dot (.) character