• Keine Ergebnisse gefunden

File Information tasks

Im Dokument for ElS leve\ 11 (Seite 172-187)

(-(

FILER

File Information tasks

Delete a file

548/Rev1.0

Delete a ftle 145

Rename a ftle 146

Rename a group of ftles 146

Add/delete ftle attributes 148

Copy a ftle 152

View additional ftle information 155

View a ftle 156

You must have the Delete right to delete ftles in a directory, and the Search right to view ftles in a directory.

1. Enter FILER and select "File Information" from the

"Available Topics" menu. A list of the ftles in your current directory is displayed.

2. Highlight the ftle you want to delete, or use the Mark key «F5> on most machines) to highlight multilple ftles. Then press < Delete>. The "Delete File" (or

"Delete All Marked Files") confirmation box appears.

3. Select "Yes" to delete the ftles.

Utilities and Commands 145

FILER

Rename a file

To rename a file, you must have the Modify right.

1. Enter FILER and select "File Information" from the

"Available Topics" menu. A list of the files in your current directory is displayed.

2. Highlight the file you want to rename; then press the Modify key «F3> on most machines). The "Edit File Name" entry box is displayed.

3. Press the Backspace key to delete the file's name.

4. Type the new filename and press < Enter> to rename the file.

Rename a group of files

Using FILER, you can rename a group of files that have identical filename extensions. When you rename the files, you must specify both an original pattern and a replacement pattern. Whatever is specified in the original pattern is replaced by whatever is specified in the replacement pattern.

For example, suppose you want all files that have an .MDR extension to have an .EDS extension. Group the files by specifying *.MDR as the Mark Pattern. (The asterisk is a wildcard.) However, suppose you want to rename only some of the files that have the .MDR extension. You can specify an Unmark Pattern, such as CH3.*, that excludes the files matching the unmark pattern.

After you specify the files you want included in or excluded from the group, specify * .MDR as the Original Name Pattern and * .EDS as the Rename Pattern.

146 Utilities and Commands 548/Rev1.0

\.

(-548/Rev1.0

FILER

When you rename the files, all extensions are changed according to the specified patterns.

After you group the files, specify which files you want excluded from the group, and specify the original and replacement patterns, you can rename the files in the group.

Follow the instructions given below to group files by their filename extensions, to exclude files from the group, or to rename the files in the group.

1. Enter FILER and select "File Information" from the

"Available Topics" menu. A list of the files in your current directory is displayed.

2. Press <F6> to display the "Mark Pattern" entry box.

3. Type the pattern that identifies the files you want to change. Press < Enter> .

To exclude certain files from the group of files you have marked for renaming, complete Steps 4 and 5.

4. Press <F8> to display the "Unmark Pattern" entry box.

5. Type the pattern for the filenames you want to exclude from the group you specified. Press < Enter> . To rename the files you have marked, complete the following steps.

6. Press <F3> to display the "Original Name Pattern"

entry box.

7. Type the original pattern and press < Enter>. The

"Rename Pattern" entry box is displayed.

8. Type the new filename pattern; then press < Enter> . The filenames you marked are renamed.

Utilities and Commands 147

FILER

Add/delete file attributes

The following attributes can be assigned to network meso File attributes

Read-Only

Users can read the me but cannot modify it.

Read-Write

Shareable

Users can read and modify the file. A me is Read-Write when the Read-Only attribute is not set.

The me can be used by more than one user at a time. ( ) Non-shareable

Normal

The me can be opened by only one user at a time. A file is Non-shareable when the Shareable attribute is not set.

A me with the Normal attribute has been flagged Non-shareable/Read-Write. You can flag a me Normal at the command line, but not in FILER.

148 Utilities and Commands 548/Rev1.0

(

(

(

(

548/Revl.0

Hidden

Indexed

FILER

The ftle does not appear when you do a directory search in DOS. (It does appear with the NetWare NDIR command, however.) You can make a hidden ftle visible by using the SHOWFILE utility or by setting the Hidden and System file search attributes.

A file is flagged Indexed so that the read/write head can pick up all the information from the File Allocation Table in an orderly, efficient manner. This makes retrieving large files faster.

Modified Since Last Backup

System

The ftle has been modified since the last time the system was backed up.

System files are files that the system uses to function. Only system ftles should have this attribute. System files do not appear when you do a directory search in DOS. (They do appear with the NetWare NDIR command, however.)

Transactional

Transactional files are protected by SFT NetWare's Transaction Tracking System (TIS). (This ftle attribute is available in SFT NetWare only.) TIS prevents data corruption by ensuring that when a ftle is being modified, either all changes are made or no changes are made. Only data ftles should be flagged Transactional.

Utilities and Commands 149

FILER

Add file attributes

You must have the Modify right to add file attributes.

Complete the following steps.

1. Enter FILER and select "File Information" from the

"Available Topics" menu. A list of the files in your current directory is displayed.

2. Select the file whose attributes you want to view. The

"File Information" list is displayed. Select "Attributes"

from this list. The "File Attributes" list is displayed.

The list may not contain any attributes initially.

3. Press < Insert>. The "Other File Attributes" list appears.

4. Select the attribute you want to add, or use the Mark key «FS> on most machines) to select multiple attributes. Then press < Enter> .

The attributes are added to the "File Attributes" list.

Add file attributes to multiple files

You must have the Modify right to add file attributes.

Complete the following steps.

1. Enter FILER and select "File Information" from the

"Available Topics" menu. A list of the files in your current directory is displayed.

2. Use Mark key «FS> on most machines) to designate which files you want to add file attributes to.

3. Press < Enter>. The "Multiple File Operations" list appears.

4. Select "Set Attributes." The "File Attributes" list is displayed. The list may not contain any attributes initially.

150 Utilities and Commands 548/ReVl.0

(

1 ,

(

FILER

5. Press <Insert> to display the "Other File Attributes"

list.

6. Select the attribute you want to add, or use the Mark key «FS> on most machines) to select multiple attributes.

The attributes are added to the "File Attributes" list.

Delete file attributes

Note:

548/Rev1.0

You must have the Modify right to delete me attributes.

You can delete attributes from only one me at a time.

1. Enter FILER and select "File Information" from the

"Available Topics" menu. A list of the mes in your current directory is displayed.

2. Select the me whose attributes you want to view. The

"File Information" list is displayed.

3. Select "Attributes" from the "File Information" list.

4. Highlight the attribute you want to delete, or use the Mark key «FS> on most machines) to highlight multiple attributes. Then press < Delete>. The

"Remove File Attribute" (or "Remove All Marked Files") confirmation box appears. attributes you deleted.

Utilities and Commands 151

FILER

Copy a file

To copy a file, you must have Read, Open, and Search rights in the directory from which you are copying, and Open, Create, Write, and Delete rights in the directory to which you are copying.

Complete the fo~lowing steps.

1. Enter FILER and select "File Information" from the

"Available Topics" menu. A list of the files in your current directory is displayed.

2. Select the file you want to copy. "The File Information"

list is displayed.

3. Select "Copy File." The "Destination Directory" entry box is displayed.

4. Type the directory path for the destination of the file you want to copy; then press < Enter> .

You can also type in a network drive letter as the destination directory. For example, if you want to copy a file to SYS:HOME/MARCI and drive G is mapped to that directory, you can type "G:" in the destination directory instead of specifying the entire directory path.

If you do not know the directory path, complete the following steps as needed. For example, if you know the name of the file server and volume but not the directory, type them in and skip to "Choose directories" on page 154.

152 Utilities and Commands 548/Rev1.0

(

directory you are copying the me to, complete Steps 5 through 7.

5. To choose another me server, you must first delete the entire directory path listed in the "Destination Directory"

box using the Backspace key. Then press < Insert>.

The "File Servers/Local Drives" list is displayed.

If the me server you want to choose is listed, skip to Step 7.

If the me server you want to choose is not listed, continue with Step 6.

6. You must be attached to a me server before you can add it to the directory path. If you are not currently attached to the me server you want to choose, press

< Insert>. The "Other File Servers" list is displayed.

6a. Select the name of the me server you want to attach to and press <Enter>. The "New User Name" entry box is displayed.

6b. Type your username and press <Enter>.

6e. If that username has a password, the "Password" entry box is displayed. Type the password and press

< Enter> . The file server you just attached to is added to the "File Servers/Local Drives" list.

7. Select the server you want for your new directory path.

The specified me server becomes the me server in your current directory path and is added to the "Destination Directory" box.

Utilities and Commands 153

FILER

Choose the volume

Note:

Choose directories

If you need to choose the volume for your destination directory, complete Steps 8 and 9.

8. If you have just chosen the file server, the "Volumes" list should be displayed on your screen. Otherwise, be sure that only the file server name has been specified in the directory path; then press < Insert> .

9. Select the volume you want. The volume you choose becomes the volume in your current directory path.

Choosing " .. " takes you to the parent directory in the directory structure. The " .. " option appears in each of the following lists: Available Volumes, Network Directories, and Local Directories. If " .. " appears as the only entry in the

"Network Directories" list, there are no directories below the current level.

If you need to choose the directory or subdirectory you are copying the file to, complete the following steps.

10. If you have just chosen the volume of your directory path, the "Network Directories" list should be displayed on your screen. Otherwise, be sure that only the file server and volume have been specified in the directory path; then press < Insert> .

11. Select the directory you want. The specified directory is added to your destination directory path.

12. Repeat Step 11 as many times as necessary to complete the directory path. Then press < Escape> .

154 Utilities and Commands 548/Rev1.0

FILER

13. Press <Enter>. The "Destination File Name" entry box appears.

14. If you want the destination filename to be different from the current filename, delete the current filename with the Backspace key and type a new filename. Otherwise, leave the filename as it is. Then press < Enter>. The file is copied.

View additional file information

Access the following information by selecting "File Information" from the "Available Topics" menu in FILER.

Select the appropriate option from the "File Information"

list.

( File information options Creation Date

Gives the date the file was placed in the specified directory.

Last Accessed Date

Gives the date the file was last accessed.

Last Archived Date

Gives the date the file was last archived.

Last Modified Date

(

Gives the date and time the file was last modified.

548/Rev1.0 Utilities and Commands 155

FILER

Owner

Size

View File

View a file

Gives the name of the user who owns the file.

Gives the number of bytes in the file.

Allows you to view the file. (See "View a File" below.)

1. Enter FILER and select "File Information" from the

"Available Topics" menu.

2. Select "View File" from "File Information" list.

The file appears on the screen. If it is not a text file, it appears on the screen as a mixture of alphabetic and graphics characters. You can move through the file by using the arrow keys or the PageDown and PageUp keys.

If you want to move quickly to a certain position in your file and you know the position of the byte you want to move to, press the Modify key «F3> on most machines). The "Go To Offset" entry box is displayed. Type the number of the byte position and press < Enter>. The line containing the byte you specified is displayed as close as possible to the top line of the screen.

When you finish viewing the file, press < Escape> .

156 Utilities and Commands 548/ReV1.0

(

(

(

FILER

Select Current Directory

Your current directory is the directory you are working in.

You may want to change your current directory path in FILER for various reasons. For example, you must change your current directory path to access files from a directory other than your current directory or to add a trustee to another directory.

Change the current directory path

548/ReV1.0

1. Enter FILER and select "Select Current Directory" from the "Available Topics" menu. The current directory path is displayed.

2. Press the Backspace key to delete the parts of the current directory path you want to change. You must delete all levels that you want to change.

For example, suppose your current directory path is PRUFROCK/SYS:HOME/JODI/PROJECTS. To change to PRUFROCK/SYS:HOME/MARCI/REVS, you would delete JODI/PROJECTS.

3. Type in the new information that completes the path you want. If you know the exact names of the file server, volume, and directory you want to use, type the new directory path. If you do not know the directory path, complete Steps 4 through 9 as needed. For example, if you know the name of the file server and volume, type them in and skip to "Choose a directory"

on page 159.

Utilities and Commands 157

FILER

Choose the file server

If you need to choose the file server for your new directory / . "

path, complete the following steps.

4. Delete the entire directory path listed in the "Current Directory Path" box using the Backspace key. Then press < Insert>. The "File Servers/Local Drives" list is displayed.

If the file server you want to choose is listed, skip to Step 6.

If the file server you want to choose is not listed, continue with Step 5.

5. You must be attached to a file server before you can add it to the directory path. If you are not currently attached to the file server you want to choose, press

< Insert>. The "Other File Servers" list is displayed.

Sa. Select the file server you want to attach to. The "New User Name" entry box is displayed.

5b. Type your username and press <Enter>.

5c. If that username has a password, the "Password" entry box is displayed. Type the password and press

< Enter>. The file server you just attached to is added to the "File Servers/Local Drives" list.

6. Select the file server you want for your new directory path. The specified file server becomes the file server in your current directory path and is added to the

"Destination Directory" box.

158 Utilities and Commands 548/Rev1.0

(

FILER

Choose the volume

Note:

If you need to choose the volume for your destination directory, complete the following steps.

7. If you have just chosen a file server, the "Volumes" list should be displayed on your screen. Otherwise, be sure that only the file server has been specified in the directory path, and press < Insert> .

8. Select the volume you want for your current directory path.

Choosing " .. " takes you to the parent directory in the directory structure. The " .. " option appears in each of the following lists: Available Volumes, Network Directories, and Local Directories. If " .. " appears as the only entry in the

"Network Directories" list, there are no directories below the current level.

Choose a directory

548jRev1.0

If you need to choose the directory or subdirectory you are copying the me to, complete the following steps.

9. If you have just added the volume of your directory path, the "Network Directories" list should be displayed on your screen. Otherwise, be sure that only the me server and volume have been specified in the directory path, and press < Insert> .

10. Select the directory you want for your current directory path.

11. Repeat Step 9 as many times as necessary to complete the directory path. Then press < Escape> .

12. Press < Enter>. The drive is now mapped to the specified directory.

Utilities and Commands 159

FILER

Im Dokument for ElS leve\ 11 (Seite 172-187)