Skip to content

Commit 6a0ffd1

Browse files
committed
Split file sharing
1 parent 8d28a24 commit 6a0ffd1

File tree

8 files changed

+109
-99
lines changed

8 files changed

+109
-99
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,11 +116,18 @@ Media video, games, etc.) file types, viewers, editors, capture, synthesizers:
116116
- [Compression](compression.md): Zip, tar, gzip, 7z.
117117
- [Dictionary](dictionary.md): dictionary formats.
118118
- [Game](game.md): games, emulation.
119-
- [File sharing](files-sharing.md): Soulseek, Dropbox.
120119
- [Image](image/): images, photos.
121120
- [Markup](markup/): Markdown, RST. Focus on command line interface and extensions.
122121
- [Video](video.md): videos, films, subtitles.
123122

123+
File sharing:
124+
125+
- [Dropbox](dropbox.md)
126+
- [Nicotine](nicotine.md)
127+
- [Ubuntu One](ubuntu-one.md)
128+
- [NFS](nfs.md) (WIP)
129+
- [LDAP](ldap.md) (WIP)
130+
124131
User operations:
125132

126133
- [id](id.md)

cp.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,13 @@
135135
cp --parents 0/1/a 2
136136
[ -e 2/0/1/a ] || exit 1
137137

138+
# Merges existing directories:
139+
140+
touch 0/1/b
141+
cp --parents 0/1/b 2
142+
[ -e 2/0/1/a ] || exit 1
143+
[ -e 2/0/1/b ] || exit 1
144+
138145
## l
139146

140147
## hardlink

dropbox.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# Dropbox
2+
3+
See your home files on browser:
4+
5+
firefox https://www.dropbox.com/home
6+
7+
File status:
8+
9+
dropbox filestatus
10+
dropbox filestatus "$F" "$G"
11+
12+
Legend:
13+
14+
- a: up to date
15+
- b: unwatched
16+
17+
Get status:
18+
19+
dropbox status
20+
21+
Possible status:
22+
23+
- idle: program running but doing nothing
24+
25+
Get information on sync status of files on current dir:
26+
27+
dropbox ls
28+
29+
- green: synced
30+
31+
Get public URL of F into the clipboard:
32+
33+
dropbox puburl "$F"
34+
echo "wget `dropbox puburl "$F"`" > xsel
35+
36+
The file must be inside Public folder.
37+
38+
Autostart Dropbox at startup:
39+
40+
dropbox autostart y

file-sharing.md

Lines changed: 0 additions & 98 deletions
This file was deleted.

ldap.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# LDAP
2+
3+
TODO

nfs.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# NFS
2+
3+
Network File System.
4+
5+
Designed for LAN, has higher throughput than FTP.
6+
7+
FTP preferred on WAN.
8+
9+
TODO.

nicotine.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Nicotine+
2+
3+
Soulseek client.
4+
5+
## Behind a proxy router
6+
7+
Go to the router admin panel, port forwarding part.
8+
9+
It can be found using your browser under a magic vendor dependent address.
10+
11+
On a D-Link for example the default is: <http://192.168.0.1/RgForwarding.asp>, default login: `admin` pass: `motorola`.
12+
13+
Open ports 2234 to 2239 on local ip found at:
14+
15+
ifconfig eth0 | grep "inet addr:"
16+
17+
Now either put your files in another partition at the root, or symlink your share and download dirs to somewhere above user so that people cannot see your username:
18+
19+
sudo ln -s /home/soulseek path/to/share/folder

ubuntu-one.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Ubuntu One
2+
3+
Open source cross platform canonical Dropbox-like program.
4+
5+
Discontinued.
6+
7+
Web interface:
8+
9+
firefox https://one.ubuntu.com/dashboard/
10+
11+
Check daemon status:
12+
13+
u1sdtool -s
14+
15+
Publish a file:
16+
17+
u1sdtool --publish-file a
18+
19+
Get file public URL to the clipboard:
20+
21+
u1sdtool --publish-file a | perl -ple 's/.+\s//' | xsel -b
22+
23+
There exist taskbar status indicator exists at <https://launchpad.net/indicator-ubuntuone>.

0 commit comments

Comments
 (0)