Skip to content

chkrr00k/ShellScript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ShellScript

Some bash script to do very simple stuff

  • logrotate.sh Rotate a give file to keep memory of it
    From its help

      [-n value] the max copies you want to keep (default 4)
      [-h] display this useful help
    
  • mostEx.sh Find the more common extentions in the given directory ricursively
    From its help

    [-e regExp] filter only given extention (separated by | (pipe))
    [-n number] number of extention to be listed
    [-p path] file path to check
    [-g] avoid to write the header (grepable)
    [-h] display this useful message (defualt 5)
    

About

Some bash script to do very simple stuff

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages