Giter VIP home page Giter VIP logo

general-purpose-utilities's Introduction

I would put these in /tmp/tools - that is how I will refer to them.

Make sure you make them executable - chmod +x /tmp/tools/*.sh

Run each script in the directories that you would like the operation
to happen.


bunchdirs.sh:
	Create n directories with n files.  
	Usage - /tmp/tools/bunchdirs.sh 10 100
		This will create 10 directories deep with 100 files in each.

		
bunchdirsonly.sh:
	Create n directories only
	Usage - /tmp/tools/bunchdirsonly.sh 20
		This will create 20 directories deep

		
bunchfiles.sh
	Create n files
	Usage - /tmp/tools/bunchfiles.sh 100
		This will create 100 files

		
longdirname.sh
	Creates directory names starting from 1 to n in length.
	Usage - /tmp/tools/longdirname.sh 255
		This will create 1 - 255 directories from 1 - 255 in length.
		It will delete the directory after successful creation.
		e.g. - 	D
			DD
			DDD
			DDDD
			...
				
longfilename.sh
	Creates file names starting from 1 to n in length.
	Usage - /tmp/tools/longfilename.sh 255
		This will create 1 - 255 files from 1 - 255 in length.
		It will delete the files after successful creation.
		e.g. - 	F
			FF
			FFF
			FFFF
			...

general-purpose-utilities's People

Contributors

shashankgupta0301 avatar

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.