Skip to content

t2mahesh/bin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 [email protected]:/root/backup
4. private_bin/
Save your private productivity scripts inside private_bin/* folder.

About

Tools in bash script for every day requirements.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages