Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

0
Become a Fan
5.0

Description:
-------------------------------------------------------
Sharethis!
License: GPL 2.
-------------------------------------------------------

i) What is sharethis!?
----------------------

Sharethis will enable you to run a HTTP Server with
the current directory as the document root. The server
will be accesible at port 8000, enabling you to share
things fast.

Just browse to the directory you want to share and
run sharethis from nautilus or the command line.

ii) Usage:
----------

1) From console:

$ cd FolderIWantToShare
$ sharethis

2) From nautilus-script
Select sharethis from the nautilus-script menu.

NOTE: The server will be accesible at http://your_ip:8000

iii) Installation
-----------------

STEP 1)

$ untar zxvf sharethis-version.tar.gz
$ cd sharethis

|-- README
|-- bin
| `-- sharethis
`-- nautilus-script
`-- sharethis

Now you must put bin/sharethis in your PATH and copy
nautilus-script/sharethis to the nautilus script folder.

You can copy bin/sharethis to /usr/bin/sharethis, or
create a local bin directory in your home (~/bin).

If you decide to copy bin/sharethis to /usr/bin then skip
STEP 2 and goto STEP 3.

STEP 2)

We're going to create a ~/bin and add it to your PATH.

$ mkdir ~/bin
$ cp bin/sharethis ~/bin
$ chmod +x ~/bin/sharethis

Now let's edit ~/.bashrc. You'll have to add this:

--CUT--
if [ -d ~/bin ]; then
PATH=~/bin:$PATH
export PATH
fi
--END--

STEP 3)

Now we just copy the nautilus script to the nautilus script
folder.

$ cp nautilus-script/sharethis ~/.gnome2/nautilus-scripts
$ chmod +x ~/.gnome2/nautilus-scripts/sharethis

We're done.
Last changelog:

0.1

- First release.


Ratings & Comments

2 Comments

vbsampath

I get a problem using the GUI interface when I place this script in nautilus script and binary file to /bin and all that extra stuff ... so I tested out ..in terminal its all ok ....in my firefox I can see the files as of webserver but when I use nautilus to share files then I get error ""There was an error creating the child process for this terminal"" what could be wrong in my procedure

crashsystems

Thanks for the script. However, a slight edit needs to be made to .gnome2/nautilus-scripts/sharethis if you put bin/sharethis into /usr/bin. Here is the changed line as it should be: gnome-terminal --execute /usr/bin/sharethis Originally, this line was referring to the bin folder placed inside $home. That works fine if you've placed it there, but if not, you get an error message.

Pling
0 Affiliates
Details
license
version 0.1
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 1

Other Nautilus Scripts:

Gflv2avi
acidc00l
last update date: 15 years ago

Score 5.0

My Movie Portal v3.2.8
iTechScripts
last update date: 13 years ago

Score 4.7

Browse Nautilus as root
SteveSims
last update date: 17 years ago

Score 5.0

Open Nautilus as Root
Mariux
last update date: 17 years ago

Score 5.0

Compare Strings
cdmn
last update date: 17 years ago

Score 5.0

grooto
pontos
last update date: 17 years ago

Score 5.0



System Tags