Re: [Nautilus-list] Nautilus Scripts
- From: Klaus Herrmann <klaus herrmann gmx net>
- To: Jamin Philip Gray <jgray writeme com>, Keith Conger <acid twcny rr com>
- Cc: nautilus-list lists eazel com
- Subject: Re: [Nautilus-list] Nautilus Scripts
- Date: 27 Jun 2001 21:57:20 CEST
>
> This script will create a tar.gz from a selected group of files with
a
> name that you input:
> ...
> #!/bin/bash
> # Add To Gzip
> Eterm --trans --shade 40 --scrollbar off --menubar off -e create_gzip
$@
> ...
> #!/bin/bash
> # create_gzip
> echo "zip name:"
> read file
> tar cvzf $file $@
> ...
>
> This script will scp selected file(s) to a host you set in the
script:
> ...
> #!/bin/bash
> #scp to host
> Eterm --trans --shade 40 --scrollbar off --menubar off -e scp $@
user host:~
> ...
>
> This script will perform a word count on the files you have selected:
> ...
> #!/bin/bash
> #Word Count
> wc $@ | gless
> ...
>
nice, but 2 things:
(1) Eterm isn't necessarily installed on every gnome installation (on
mine it isn't as i use sawfish)
(2) bash doesn't have to be in /bin/bash, i guess /bin/sh is always
available. e.g. my bash is /usr/local/bin/bash
regards,
Klaus
--
Klaus Herrmann <klaus herrmann gmx net>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]