CARVIEW |
Select Language
HTTP/2 200
date: Sat, 26 Jul 2025 09:56:37 GMT
content-type: text/html; charset=utf-8
cf-ray: 9653072fcd9bc46e-BLR
cf-cache-status: DYNAMIC
cache-control: private
set-cookie: prov=181f00da-4871-4665-acd9-4bd2809d8e79; expires=Sun, 26 Jul 2026 09:56:36 GMT; domain=.stackexchange.com; path=/; secure; httponly
strict-transport-security: max-age=31536000; includeSubDomains
vary: Accept-Encoding
content-security-policy: upgrade-insecure-requests; frame-ancestors 'self' https://stackexchange.com
x-clacks-overhead: GNU Terry Pratchett
x-frame-options: SAMEORIGIN
x-request-guid: 5e911e2c-6986-4092-bb8d-ff0e42b3703a
x-worker-origin-response-time: 543000000
x-dns-prefetch-control: off
set-cookie: prov=181f00da-4871-4665-acd9-4bd2809d8e79; Path=/; HttpOnly; Domain=stackexchange.com
set-cookie: __cf_bm=ULnh064opmbftdYsyzsH2R3gJvO.ZzA76OZD9vFEQWQ-1753523797-1.0.1.1-Xa7V_ZtA3NSxe7xzoLOaklHZMye6cnwieh06wMHOE3D7JD1Q47.sFRlidRXvhzAXVp902kHdFDyYdw07UN9.PpHmbMA.pbmWuK50dyKf7i0; path=/; expires=Sat, 26-Jul-25 10:26:37 GMT; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
set-cookie: _cfuvid=Qfu6sL1_Xuxk8SfJCgw4QaLIRgDd1BO7AujWiAhTv74-1753523797005-0.0.1.1-604800000; path=/; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
server: cloudflare
content-encoding: gzip
Newest 'file-system' Questions - Code Review Stack Exchange
Skip to main content
Stack Exchange Network
Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack ExchangeTeams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about TeamsQuestions tagged [file-system]
Use this tag for reviews of code that performs file system operations, such as creating, deleting, renaming, moving, copying, reading, and writing files.
728 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
5
votes
4
answers
250
views
Swift for CLI tools (traversing directories, reading text files)
To compare ergonomics and performance of some languages for my hobby projects, I have written a simple lines of code counter in Swift, Go, Rust and Python. It scans a given directory tree for source ...
user292421
4
votes
2
answers
1k
views
An improved sample C++/WinAPI malware program for Windows (includes the program that uninstalls it completely)
(See the GitHub repository for a Visual Studio (2022) solution/projects.)
Description
This malware does nothing more than install/uninstall ...
7
votes
4
answers
2k
views
A sample malware program for Windows (includes the program that uninstalls it completely)
Intro
This time I was in the mood for the low level stuff. The entire repository is in GitHub. It includes the installer, the actual malware program, and the uninstaller that removes it completely ...
5
votes
1
answer
115
views
File system regex searcher
This is my first Rust project (I'm primarily a C guy). I want to know if my code is properly idiomatic (Rusty?). Also, are there any inefficiencies?
The code defines an iterator (...
12
votes
3
answers
1k
views
Simplified simulation of Unix "ls" command made using C++ std::filesystem library
I have just implemented this while getting acquainted with the std::filesystem library.
On input from console, the program accepts two arguments: ...
9
votes
3
answers
578
views
Parsing SFV files to extract and store the hashes
Similar to the class for the RAR file, now a class to extract and store the hashes from SFV files.
Though this was considerably easier, there has been some code reorganisation: there is now an ...
7
votes
3
answers
282
views
lndir shell function - hardlink two directories
The code works, but I could use help testing it more comprehensively and double-checking that everything I'm doing makes sense, and that all the options can coexist with each other. I'm running into ...
11
votes
6
answers
1k
views
fsize: A Command-Line Tool for Checking File Sizes
I have created a cross-platform CLI tool to quickly retrieve file size and present it to the user in different units of data. The whole program is written in C and for Windows Win32 API is used to ...
9
votes
3
answers
967
views
Getting information about a RAR file's content
The first lines of the rarpath module (see here for context, the rest is not used here):
...
5
votes
2
answers
203
views
Sorting file names of a RAR split archive (v3 and v5)
This simple task of sorting a list of related RAR files of a split archive turned out to be more cumbersome than expected, since there are two versions of the RAR naming scheme, v3 and v5.
v3 is like ...
6
votes
1
answer
781
views
C++20 Robust File Interface
I'm working on a homebrew game engine in C++20. I needed a robust, minimal-overhead, and easy way to load files into memory. I ended up with this: a simple, easy file loader. It doesn't have many ...
6
votes
2
answers
120
views
Photo Reduction Tool version 2 - Possible reinvention of the wheel
The code is a Linux command line photo size reduction tools. It reduces the size of all the photos in a directory. It may work on Windows 10, but it has not been built or tested on Windows. It takes ...
6
votes
2
answers
187
views
Resize 200 photos quickly in C++ using opencv
I have about 200 photos that I need to up load to a WordPress website. When I tried up loading the second one I got an error message that the file was too wide. Apparently WordPress limits the width ...
2
votes
3
answers
88
views
Read a helpfiles textfile or potentially delete one if given an argument that's in the list
I'm working on a MUD (multiplayer text game), and the helpfile system adds missing helpfiles (ones that are looked for but don't exist) in the following format, including the room number, character ...
6
votes
1
answer
183
views
Function for listing processes holding a specified file open
The function's prototype is:
int processes_using(const char *name, pid_t pidlist[], int size)
It searches through all processes it can to find any that have an ...
- The Overflow Blog
-
-
- Featured on Meta
-
-
Related Tags
python × 235
beginner × 95
performance × 74
python-3.x × 74
c# × 70
c++ × 62
c × 59
java × 52
linux × 43
file × 41
php × 41
bash × 39
windows × 36
object-oriented × 28
recursion × 28
console × 21
javascript × 21
python-2.x × 21
powershell × 19
vba × 18
node.js × 17
ruby × 17
error-handling × 16
perl × 16
regex × 16
more related tags
Hot Network Questions
- Anonymizing a submission for double-blind review
- Why aren't there baleen whales at about the size of a dolphin?
- Why is time reversal not a natural part of the Galilean group?
- Mars colony book I read in the 80's. The name?
- How should one pronounce plural French-derived German words?
- Are you required to protect trade secrets revealed to you even if you didn't sign an NDA?
- About Bonferroni correction for adjusted Pearson residuals
- Do TeX engines support Shavian OpenType fonts?
- How do I set up a recursive algorithm to repeatedly square root a positive real number?
- Why does the node Bounding Box suddenly produce a different result in version 4.5?
- Humans on alien planet get tailed by silent humanoids
- What Isp can be gotten from a napthalene (mothball) hot gas thruster? Did it work in space?
- Use of l3keys to collect optional arguments of `\NewDocumentCommand`
- How can I evenly space my instances after they've been progressively scaled?
- How many simple groups are there of a given infinite cardinality?
- Most practical way to determine concentration of reducing sugar in frozen French fries?
- Is it possible to use the PC power button to pre-select the OS in rEFInd UEFI dual boot setup?
- Sterilizing Medical Device with Electronic Components
- Statistics – Linear Inference – What is the moment generating function of non-central t-distribution?
- How can I allow a contact to update their organisation using FormBuilder?
- Can a humanoid that fell supine and is then Levitated alter his orientation?
- Why does my laptop's display turn off when I'm away from the keyboard?
- Siding listed in IRC - what are “Wood Rustic, Drop”, and “Butt Tip”?
- How much of a really big a spaceship could a nuke take out?