Skip to content

unalmis/automate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automation with shell programs!

No one wants to do something that could have been automated. Shell scripts are a great tool to automate tasks.

Shell languages lack the powerful abstractions of higher level languages such as python, but sh programs make up for it with their portability.

All programs in this repository are POSIX compliant. Meaning these programs run on any shell.

Use

  • download example.sh
  • right click in the directory with example.sh and select Open in Terminal
  • enter sh example.sh in terminal

About the code

fission.sh

A terminal program that helps set up and maintain RPM or Debian based systems.

demo of fission.sh

How is it helpful? Consider that

  • it is laborious to set up systems well
  • it takes too long to get a fresh system to a state where you can do stuff
  • it drains your attention to remember details
  • it requires going down a rabbit hole to properly use jupyter lab in conda
  • it is better for a program to set up your parent's or sister's system
  • fission.sh makes Linux more appealing to newcomers
  • fission.sh improves systems that would otherwise not be
  • fission.sh helps avoid weeks of troubleshooting

linearize.sh

Linearizes PDF files in the current directory, recursively.

Note that linearizing a PDF modifies the original. I am not liable for unexpected results. Please make backups.


mitosis.sh

The simplest backup program you'll ever need.

  • diffs the source and destination to only copy missing or modified files
  • removes files not on the source from the destination

pull.sh

Updates local repositories in the current directory, recursively.


replace.sh

Replaces strings in files in the current directory, recursively.


texformat.sh

Format tex files and delete junk compilation files in the current directory, recursively.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published