pocket-util

A simple symlink utility command.

Usage no npm install needed!

<script type="module">
  import pocketUtil from 'https://cdn.skypack.dev/pocket-util';
</script>

README

🐹 Pocket

A simple symlink utility command.

Basicaly just shortcuts mv && ln operations. Defaults to a symbolic link but can be passed a flag to make it a hard link.

Usage

pocket <from> <to>

This is roughly equivalent to:

mv <from> <to>
ln -s <to> <from>

Install

yarn global add pocket-util

Options

Flag What it does
--hard, -h Leaves off the ln command's -s flag