
Create large dummy file using Terminal command
If you want to create a large dummy file with any extension e.g. : .txt, .dmg, .pdf, .mp4, .mov, .zip, .rar, .mk4 you can do it using mkfile command in Terminal App.
Steps to create a large file :
- Open Terminal App.
- Move to the location where you want to create your file using cd (change directory command)
- Now use command mkfile <size>G your-file-name.ext ( example: mkfile 4G mymovie.mov => will create a movie file with name mymovie of size 4GB)
- Hit Enter, It will take some time to complete the process (depends on the file size)
- When the command completes the prompt should return and file would be created.
- mkfile command also works on other Unix based or Linux Operating Systems.
- Useful stuff! Thank you!!
anon 08 Nov 2020 18:11:33 GMT
- Further comments disabled!
- Location of eclipse.ini file on Mac OS X
- How to enable Do Not Disturb mode for Notification Center in Mac OS X 10.10 Yosemite
- Save webpage as pdf in Google Chrome for Mac OS X
- Spell check not working in Gmail : Mac OS X
- [Mac] To open Eclipse you need to install the legacy java se 6 runtime
- Mac OS X Error: Could not create the Java Virtual Machine
- Transfer files between Android and Mac OS X using usb cable
- Mac Studio Display Buzzing sound from the Monitor
- Kill or force quit stuck application or process in Mac OS X
- Take Screenshot on Mac OS X (Keyboard Shortcuts)
- vi undo redo command [Examples]
- Spotlight Search file path location on Mac OS X Mavericks or Yosemite
- Find Java JRE Installation location Mac OS X
- Take Screenshots on Mac OS without Keyboard
- How to See Hidden Folders and Files on macOS
- How to Setup maven on Mac (macOS)
- osascript wants to make changes while Android Studio Installation on Mac OS X
- Remove Applications from Startup Mac OS X
- Have you noticed MacOS Ventura About this Mac look like Mac OS X
- Find the location of Spotlight searched file
- Mac OS X Taking Screen Capture using Terminal
- Safari appends .html extension to files that are downloaded
- Open New tab using keyboard shortcut in Mac Terminal
- Mac OS X Stuck During Booting Gray Screen Logo and Spinner
- Disable Chrome Notification bell from Mac OS X menu bar
- How to fix Java HTTP java.net.UnknownHostException - Java
- Whats new in Python 3.10 Pre-release - Python
- How to set Out Of Office (OOO) on Outlook for Mac - MacOS
- SharePoint 2010 DataForm Unable to display this Web Part System.StackOverflowException - SharePoint
- Quick Steps to install NodeJs on macOS - MacOS
- How to fix java.net.NoRouteToHostException in Android Studio - Android-Studio
- Fix: Deprecated Gradle features were used in this build, making it incompatible with Gradle - Gradle
- How to remove unwanted Java imports in IntelliJ (alternative of eclipse Ctrl + Shift + O) - Eclipse
Comments:
More Posts related to Mac-OS-X,
More Posts: