Last active
February 11, 2020 11:27
-
-
Save mayeenulislam/2bc8f0f427118cbd143528da55c03875 to your computer and use it in GitHub Desktop.
Shell commands for Files utilities
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# file mime type | |
file -b --mime-type 'filename has space in it.flv' | |
# Create dummy file with any defined size with valid mime_type | |
# file size in binary bytes | |
fsutil file createnew myfile.pdf 10485760 | |
# Source: https://www.digitalcitizen.life/3-ways-create-random-dummy-files-windows-given-size | |
# Helpful converter: https://www.gbmb.org/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment