Skip to content

Latest commit

 

History

History
61 lines (39 loc) · 1.1 KB

README.md

File metadata and controls

61 lines (39 loc) · 1.1 KB

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.