This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

sh-utils

Some commands to simplify various things.

  • pm - move p to p’
  • cpm - copy p to p’
  • upm - undo p to p’
  • sw - swap two paths
  • pt - pivot file over a command
  • pts - pivot file over a command (stdin)

These commands simplify some common tasks in a shell.

For example, it’s often helpful to copy a file to a backup.

jason@io ~ cp foo foo\'

Instead, the cpm command is a bit more flexible and less to type.

jason@io ~ cpm foo

The pm commands, in general, can also be used en masse.

jason@io ~ cpm *

Another common pattern is running a command on a file and replacing it with the output, which pt supports.

jason@io ~ pt sort foo

The pts command is also similar to pt, but allows for some more complex combinations.

jason@io ~ pts sh -c "sort | awk '{ print \$1, \$2 * \$2 }'" foo

Any issues or bug reports, please use the github issue tracker. Pull requests and patches are also welcome.

Aliases

Some useful aliases to avoid prompts and change the default suffix.

alias pm="pm -f -s .old"
alias cpm="cpm -f -s .old"
alias upm="upm -f -s .old"

Installing

PyPI

pip install sh-utils

From source

python setup.py install

Versions

0.9 (Feb, 2016)

  • first release
Release History

Release History

0.9

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
sh-utils-0.9.tar.gz (4.3 kB) Copy SHA256 Checksum SHA256 Source Feb 2, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting