Skip to content

boba2fett/bashscripts

Repository files navigation

bashscripts

A simple collection of some odd, but maybe useful scripts

dpkg-deb --build scriptcoll/
sudo dpkg -i scriptcoll.deb

Use the deb file to install is easiest i think

RCS

The rcs directory is for the preferences I like to use for rc files just place them in your home folder

autocp

automount and copy of all files of a device

autocp /dev/sdd

bruteencoding

Find a possible encoding for a file given a phrase that should occure in the file when the right encoding is used

bruteencoding text.txt "schräge"

cleara

clear all log files in var/log

cleara

cpfromsubdir

cp all files containing a string from subdir

cpfromsubdir filebeginningwith* targetdir 

detoxcontent

detox german files from öÖäÄüÜßẞ

detoxcontent text.txt > detoxed.txt

downyt

my std configuration for youtube-dl

downyt "https://www.youtube.com/watch?v=cXVIAkYFlSg"

downytmusic

my std configuration for youtube-dl music downloading

downytmusic "https://www.youtube.com/watch?v=cXVIAkYFlSg"

easyip

get just the ipv4

easyip

ffext

Simple change between ffmpeg compatible formats for whole directories

ffext "*.mp3" ".ogg"

forcegitignore

force a .gitignore file by deleting the cache and the readding all files automatic commit and push afterwards

forcegitignore

inxclip

Puts everything from stdin into clipboard

echo -n "asdf"|inxclip

mousepos

easy mouseposition in x:XXX y:YYY

mousepos

preclean

Simple remove an prefix of a filename (same as rename "s/delphrase(.*)/$1/") but with tab autocompletion) (detox may be useful)

preclean

upa

update everything for lasy people

upa

waitfor

Simple time-planning tool example to wait until 03:00

waitfor 0300

About

bash script collection

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published