Skip to content

idirxv/tempit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tempit — Temporary Directory Manager

Codacy Badge Python License: MIT

CLI + shell helper to create, track, and jump into temporary directories without losing them.

Install

pip install tempit-manager

Add shell integration to ~/.bashrc or ~/.zshrc:

eval "$(tempit init bash)"   # or: zsh

Usage

After shell init, use the aliases:

Alias Action
tempc [prefix] Create temp dir and cd into it
tempg <n> Jump to tracked dir by number
templ List tracked dirs (size, age, file count)
temprm <n> Remove tracked dir by number
tempclean Remove all tracked dirs

Raw CLI:

tempit create [prefix]
tempit list
tempit remove <n>
tempit clean-all
tempit init <shell>
tempit --version

Tracked metadata lives at /tmp/tempit_dirs.json.

License

MIT

About

CLI + shell helper to create, track, and jump into temporary directories without losing them.

Topics

Resources

License

Stars

Watchers

Forks

Contributors