Skip to main content

Provides many useful command lines in python

Project description

hawksoft.tools package

Provides many useful command line in python.

Now includes:

  • md2zhihu: convert md file with math formula to zhihu-compatible file.
  • tree: show directory as tree graph.
  • selmv: move file with specified extensions from source directory to destine directory.
  • rename: rename all file with special extension to new name.

Installation:

pip install hawksoft.tools

usage:

md2zhihu

Installation will add a new command line: md2zhihu. you can use it like this:

 md2zhihu sourceFilename destineFilename 

or

md2zhihu sourceFilename destineDirectory

The command will create a new file which can be imported to zhihu website.

tree

Installation will add a new command line: tree. you can use it like this:

tree 

or

tree [diretory]

The command will show the directory as tree graph.

selmv

Installation will add a new command line: selmv. you can use it as following:

selmv extension fromDirectory toDirectory 

The command line will move all files with specified extension from fromDirectory to toDirectory, involving all the files in sub-fromDirectory.

rename

Installation will add a new command line:rename. you can use it as following:

rename extension fromDirectory newName

The command line will rename all files with specified extension , involving all the files in sub-fromDirectory.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hawksoft.tools-1.1.4.tar.gz (4.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page