public
Last active — forked from merlinmann/local2dropbox.sh

  • Download Gist
local2dropbox.sh
Shell
1 2 3 4 5 6
#!/usr/bin/env bash
 
sed 's|/Users/USERNAME/Dropbox/Public/|http\://dl\.dropbox\.com/u/3423/|g';
sed 's|file\://localhost/Users/USERNAME/Dropbox/Public/|http\://dl\.dropbox\.com/u/3423/|g';
sed 's|\~/Dropbox/Public/|http\://dl\.dropbox\.com/u/3423/|g';
sed 's|\.\./Public/|http\://dl\.dropbox\.com/u/3423/|g';

Isn't this like a billion times more readable? See here

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.