gnome-find : Preferences Page 2

# gnome-find Commands Preferences

Andy Kahn
8th June 2000

Shell command

These are the various file related commands which can be executed from the search results dialog. Each command requires the text `$files` which will be replaced with the actual filenames selected in the results dialog. For the copy command, `$dest` must be specified to indicate the destination name of the copy.

The default command for each are listed below:

- Open file(s): `gnp $files`
- Delete file(s): `rm -f $files`
- Copy file(s): `cp -f $files $dest`
- Print file(s): `lpr $files`
- Execute file(s): `exec $files`
- Shell command(s): `NONE`

IMPORTANT: The commands specified must be non-interactive. That is, for the command to complete, they must not prompt the user for any input. This is why the default delete and copy commands specify the `-f` option to `rm` and `cp`.