GithubHelp home page GithubHelp logo

system-tools's Introduction

system-tools

place to store py scripts, solving different system tasks.

Make it Flat

Destroy directory tree and move all files to top directory.

Sort directory

This script is dedicated to sort directory by chosen extensions.
Example: sortdir audio=.flac,.wav,.mp3 arcs=.zip,.rar docs=.docx, .docx,.pdf

Also it has optional argument -wd. It can be places anywhere.
So it forces script to walk through whole directory tree, not only current working directory.

So this utility takes different number of arguments, where left is name of directory and right values
are extension, that will be moved into mentioned directories. Directories are created from current working directory.

FRD(find and rename duplicates)

Purpose of this script is obvious, but it was written to avoid problems, that may occur when you use directory sorting
script, because there may be files with the same names, but placed in different directories, so some files will not be moved.
To avoid this problem simply use this tiny script.

CGI(create gitignore)

This script is used to create .gitignore file.
Example: cgi -f .sln .txt .user .filter -d Release .git After` -f mark you pass file extensions to add to gitignore and
after ```-d``` mark you pass directories to ignore.

To walk through whole directory of project, you should use -wd option.

SRM(safe rm)

This script rewrites files n times(default value is 5) and then removes it. There will be ability to recover it, but its content will be noise.
Example:
srm kitten.png 100
srm kitten.png

Merger(directory merging script)

This script compares two directories and find files with the same name. Then it walks through list of all matched files and asks user to find out should they be merged.
Example:
merger dir1 dir2
merger dir1 dir2 wd

system-tools's People

Contributors

maganer avatar

Watchers

 avatar

Forkers

hdvpdrm

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.