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!
- Transfer files between Android and Mac OS X using usb cable
- Find Java JRE Installation location Mac OS X
- How to enable Do Not Disturb mode for Notification Center in Mac OS X 10.10 Yosemite
- Remove Applications from Startup Mac OS X
- Open New tab using keyboard shortcut in Mac Terminal
- Create a large dummy file using Mac OS X terminal command
- Hide files and folders on Mac OS X
- Install Apache Tomcat ver 8 on Mac OS X Yosemite 10.10
- Location of eclipse.ini file on Mac OS X
- Take Screenshots on Mac OS without Keyboard
- [Solved] Dynamic Web Module 3.0 requires Java 1.6 or newer Mac OSX
- Mac OS X Taking Screen Capture using Terminal
- How to Stop Photos App from auto loading when device connected to the Mac
- Change Mouse Scrolling in Mac OS X
- How to Setup maven on Mac (macOS)
- Mac Studio Display Buzzing sound from the Monitor
- 4 Open Source SQLite Editor for Mac OS X , Windows and Linux
- Save webpage as pdf in Google Chrome for Mac OS X
- vi undo redo command [Examples]
- How to See Hidden Folders and Files on macOS
- [Mac] To open Eclipse you need to install the legacy java se 6 runtime
- Java location in Mac OS X
- Safari appends .html extension to files that are downloaded
- Pdf Text to Speech option in Mac OS X Preview App
- How to run Gradle from Mac Terminal (Command Line)
- Fix: java: void cannot be dereferenced - Java
- Get Current Local Date and Time using Java 8 DateTime API - Java
- Bootstrap Nav Menu Dropdown on hover - Bootstrap
- Obsolete marquee element alternatives html5 - Html
- Docker Commit Command with Examples - Docker
- How to Check AWS SNS Permissions using CLI - AWS
- Android Studio : Change FAB icon color : FloatingActionButton - Android-Studio
- Capitalize the first letter of each word using Notepad++ - NotepadPlusPlus
Comments:
More Posts related to Mac-OS-X,
More Posts: