File Manager - Directory menu

File Manager - Directory menu


Change to default directory

Changes the current directory to the default directory. The default directory is assigned on the Configure screen. If a file is currently displayed, it is cleared.


Set current directory as default

Sets the current directory as the default directory.


Copy

Copy a directory. This option calls the directory copying utility kcopydir. This program is particularly useful for copying directories that contain Sculptor keyed files, which are copied safely even if other processes have them open for update during the copying process.

All the parameters can be saved as the defaults for future directory copying operations. The Save settings button performs this operation.

The following values must be provided:

Source dir

The full path of the source directory for the copy operation. If this field is blank and a default source directory has been configured, the default is displayed. If an invalid path name is entered, a warning is given. The Start button is not enabled unless a valid source directory has been provided.

Destination dir

The full path of the destination directory for the copy operation. If this field is blank and a default destination directory has been configured, the default is displayed. The Start button is not enabled unless a destination directory has been provided, but in this case the directory need not already exist.

The following options are available:

Exclude files

The full path of a text file containing file exclusion parameters. A file will be excluded from the copying operation if any part of its name, ignoring the directory component, contains the text from a line in the exclusion file. For example, if exnfile contains the lines “junk” and “temp”, then all files that contain “junk” or “temp” in any part of their name are excluded. The comparison is case insensitive.

If this field is blank and a default exclude file for files has been configured, the default is displayed.

Enter “?” to browse for the file.

Exclude dirs

The full path of a text file containing directory exclusion parameters. A directory will be excluded from the copying operation if any part of its name, ignoring the directory component, contains the text from a line in the exclusion file. For example, if exdfile contains the lines “old” and “mydir/test” then all directories that contain “old” or “mydir/test” in any part of their path are excluded. The forward and backward slash characters (/ and \) are considered to be identical. The comparison is case insensitive.

If this field is blank and a default exclude file for directories has been configured, the default is displayed.

Enter “?” to browse for the file.

Copy new files only

If this is checked, only files that do not already exist in the destination directory are copied.

Copy updated files only

If this is checked, only files that have been updated are copied. This does not work reliably because the operating system does not reset the file modification time until the application that has updated it either closes or flushes the file. This may not matter in the case of a backup run once a day on files that are opened and closed many times. However, it is important to be aware that a file that is open and has been modified may not be copied.

Ignore subdirectories

If this is checked, only files in the source directory are copied. Subdirectories are ignored.

Don’t preserve file modification time

Self-explanatory.

Don’t preserve file permissions

Self-explanatory.

Abort on error

The default behaviour is to continue, except when the error is so serious that continuing is unlikely to be possible. Check this box to override this.


RELATED TOPICS

File Manager