How does Windows with NTFS perform with large volumes of files and directories? Is there any guidance around limits of files or directories you can place in a single...
This question already has answers here: How to delete many 0 byte files in linux? (10 answers) Closed 5 years ago. The community reviewed whether to reopen this question...
Suppose I have a full path of file like:(/sdcard/tlogo.png). I want to know its mime type. I created a function for it public static String getMimeType(File file, Context context)...
How do I write this to go back up the parent 2 levels to find a file? fs.readFile(__dirname + 'foo.bar'); 12 Answers 12
string path = "C:\folder1\folder2\file.txt"; What objects or methods could I use that would give me a result of folder2? 10 Answers 10
It seems that ls doesn’t sort the files correctly when doing a recursive call: ls -altR . | head -n 3 How can I find the most recently modified...
Process.platform returns “win32” for Windows. On Windows a user’s home directory might be C:\Users[USERNAME] or C:\Documents and Settings...
How do I write a loop in ruby so that I can execute a block of code on each file? I’m new to ruby, and I’ve concluded that the...
On a Linux machine I would like to traverse a folder hierarchy and get a list of all of the distinct file extensions within it. What would be the...
I want the user to select a directory where a file that I will then generate will be saved. I know that in WPF I should use the OpenFileDialog...