When updating resources, we should do Test for insufficient disk space , So I want to create a file to fill the hard disk , You can use the command to create .

fsutil file createnew null.zip 524288000

Use CMD Command to create a file of a specified size

  1. Windows Create a file of the specified size under

    Preface Because you need to test the storage capacity , So you need to be able to generate a file of a specified size . perform # grammar :fsutil file createnew Path and filename file size fsutil file createnew D:\test ...

  2. Use windows Of fsutil Command to create a test file of the specified size and type

    In software testing , For uploads . Downloading a class of functions often requires testing with files of different sizes . Use Windows command fsutil Can generate any size . Any type of file . C:\Users\axia\fsutil file crea ...

  3. linux Create a file of the specified size

    One . Generate a file of the same size as the actual footprint dd if=/dev/zero of=50M.file bs=1M count=50 dd if=/dev/zero of=20G.file bs=1G c ...

  4. linux dd Command to create a file of a certain size

    http://www.cnblogs.com/jikexianfeng/p/6103500.html

  5. Use Java Create an empty folder of the specified size

    /** Method 1 * Create a fixed size file * @param file * @param length * @throws IOException */ public static void create ...

  6. linux Generate a file of the specified size ( turn )

    # dd if=/dev/zero of=50M.file bs=1M count=50 Generate a... In the current directory 50M The file of A more common name for a virtual block device file is a hard disk image file (Hard Disk Image), but ...

  7. Linux Next, automatically clean up files larger than the specified size

    Linux Next, automatically clean up files larger than the specified size Ideas :1) lookup test All the files in the directory 2) Judge whether it is greater than 100M3) Greater than 100M Leave blank With byte Show file size in units , And then 100M Compare the size . 100M conversion ...

  8. Linux Delete the empty file , Delete a file of the specified size

    Linux Next batch delete empty files ( Size equal to 0 The file of ) Methods : find . -name "*" -type f -size 0c | xargs -n 1 rm -f You can also delete the finger with this ...

  9. adopt cmd Order to ftp Download files on

    adopt cmd Order to ftp Download files on Click on " Start " menu . Then input "cmd" spot "enter" key , appear cmd Command execution box 2 Input "ftp& ...

Random recommendation

  1. iOS 10 Summary of development issues

    compatible iOS 10 Data organization, notes   1.Notification( notice ) since Notification After being introduced , Apple keeps updating and optimizing , But these updates and optimizations are just minor , Until now, iOS 10 Start really big ...

  2. javaweb Review the second tomcat and web Program deployment

    The preface is mainly about tomcat Some properties and web Simple deployment of the program , There may be a better way to deploy in the actual development , But it's also a foundation . 1:tomcat About tomcat It's estimated that as long as you contact java Most people have heard the name , Then we ...

  3. Java Study notes :Java StringBuffer class

    One . introduction When modifying a string , Need to use StringBuffer class . and String Class is different from ,StringBuffer and StringBuilder Class can be modified many times , And don't create new unused objects ...

  4. html Rounded border in

    border-radius:20px; radius: Draw a circle with the radius of . How to make a circle : div{height:150px;// Half a pixel , Plus the pixels of the border width:150px; border ...

  5. Objective-C series

    my Objective-C A series of articles and the feeling of persisting in blogging   do iOS It's been developing for a while , Also have their own online App product , I also insist on publishing technology blog to summarize what I have learned . When writing a blog, although there are some typos in the blog article , But every word is ...

  6. java Byte stream of program testing

    package filestream; import java.io.FileInputStream; import java.io.FileNotFoundException; import jav ...

  7. By routing url Carry parameters for parameter transfer

    One .url Analytical parameters Write... In the route , The same controller , The same page template , You can write multiple routes , Different routes correspond to the same page , It's just a specific page in this state of transferring parameters . .state("OrderRecord&quo ...

  8. CSAPP: Chapter 3 machine level representation of programs 2

    CSAPP: The machine level representation of a program 2 Key points : The arithmetic . Logical operation Arithmetic logic operations 1. Load valid address 2. Unary and binary operations 3. Shift operation Arithmetic logic operations As shown in the figure x86-64 Some integer and logical operations of , Most operations are divided into instruction classes ( ...

  9. Python Get the specified content of the web page (BeautifulSoup How to use the tool )

    Python It's quite good for data processing , If you want to be a reptile ,Python It's a good choice , It has a lot of class packages that have been written , Just call , Can complete many complex functions , All the functions in this article are based on BeautifulSoup This package . ...

  10. css Attribute writing order analysis

    Let's start with examples @font-face { font-family: 'icomoon'; src: url('fonts/icomoon.eot?speta9'); src: url('fonts ...