Top "Filesystems" questions

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

How to get directory size in PHP

function foldersize($path) { $total_size = 0; $files = scandir($path); foreach($files as $t) { if (is_dir(rtrim($path, '/') . '/…

php filesystems
Internal and external fragmentation

Can anyone please tell me the difference between internal and external fragmentation while allocation of disk space for files?

filesystems disk fragmentation
How to save svg canvas to local filesystem

Is there a way to allow a user, after he has created a vector graph on a javascript svg canvas …

javascript svg save filesystems local
Path.Combine absolute with relative path strings

I'm trying to join a Windows path with a relative path using Path.Combine. However, Path.Combine(@"C:\blah",@"..\bling") …

c# .net windows path filesystems
Check whether a path is valid in Python without creating a file at the path's target

I have a path (including directory and file name). I need to test if the file-name is a valid, e.…

python filesystems filepath
Is there a way in Java to determine if a path is valid without attempting to create a file?

I need to determine if a user-supplied string is a valid file path (i.e., if createNewFile() will succeed or …

java validation filesystems
How do I make my program watch for file modification in C++?

There are a lot of programs, Visual Studio for instance, that can detect when an outside program modifies a file …

c++ file-io filesystems monitoring fsevents
Find the path of notepad.exe and mspaint.exe

What is the best way to find out where notepad.exe and mspaint.exe are that will work across various …

winapi search filesystems filepath
What character to use to put an item at the end of an alphabetic list?

I often prepend '_' to the item I want in first position. Is there some sort of magical character …

windows linux filesystems alphabetical-sort
How to get list of files with a specific extension in a given folder?

I want to get the file names of all files that have a specific extension in a given folder (and …

c++ filesystems file-management