Top "Filesystems" questions

A file system is a way of organizing data on a computer system.

How can I find all of the distinct file extensions in a folder hierarchy?

On a Linux machine I would like to traverse a folder hierarchy and get a list of all of the …

linux grep filesystems file-extension
How can I determine whether a specific file is open in Windows?

One of my favourite tools for linux is lsof - a real swiss army knife! Today I found myself wondering …

windows linux command-line filesystems
What is the best place for storing uploaded images, SQL database or disk file system?

I'm writing an application that allows users to upload images onto the server. I expect about 20 images per day all …

database filesystems image-uploading binaryfiles
What tool to use to draw file tree diagram

Given a file tree - a directory with directories in it etc, how would you write a script to create …

bash shell filesystems diagram
Get size of folder or file

How can I retrieve size of folder or file in Java?

java filesystems
Node.js - Find home directory in platform agnostic way

Process.platform returns "win32" for Windows. On Windows a user's home directory might be C:\Users[USERNAME] or C:\Documents …

node.js filesystems platform-independent home-directory platform-agnostic
How to uninstall a windows service and delete its files without rebooting

My current project involves deploying an upgraded .exe file that runs as a Windows Service. In order to overwrite the …

windows scripting windows-services operating-system filesystems
Trying to create a file in Android: open failed: EROFS (Read-only file system)

This line: final FileOutputStream outputStream = new FileOutputStream(name); results in a FileNotFoundException with the message being /2ozjfFQzwv: open failed: EROFS (…

android file file-io filesystems android-file
How do I find the mime-type of a file with php?

Ok, so I have an index.php file which has to process many different file types. how do I guess …

php filesystems http-headers content-type
How do you determine the ideal buffer size when using FileInputStream?

I have a method that creates a MessageDigest (a hash) from a file, and I need to do this to …

java performance file-io filesystems buffer