Skip to content
Tools in bash script for every day requirements.
Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
download
flush-dns
ll
no-sleep
server
sync-dir
tree

README.md

bin

Tools in bash script for every day requirements.

1. download
Example:

	~$ download <url>
	<url> - Full url of the file to be downloaded.

	If the download has stopped.
	~$ download

'download' command creates a .log file in current directory,
this file is used to resume the download again. it uses 'curl'
command to download.
2. ll
Example:

	~$ ll <dir>
	It will display ls -lh

	~$ ll -a <dir>
	It will display ls -lha

It is just for my convienence on OSX.
3. server
Example:
	~$ server <dir_path>
	This will start SimpleHTTPServer is given directory.

	~$ server
	Without directory path, it will start SimpleHTTPServer
	at previously used location.
5. tree
Example:
	~$ tree *
	Prints in tree style excluding hidden files.

	~$ tree .
	Prints in tree style includig hidden files.
6. sync-dir
Example:
	~$ sync-dir <source-directory> <destination-directory>

<destination-directory> can be ssh connection.
i.e. ssh root@xxx.xxx.xxx.xxx:/root/backup
4. private_bin/
Save your private productivity scripts inside private_bin/* folder.
You can’t perform that action at this time.