summaryrefslogtreecommitdiff
path: root/Userland/rm.cpp
AgeCommit message (Collapse)Author
2020-03-01rm: Allow specifying multiple paths to removeAndreas Kling
2020-02-18rm: Use pledge()Andreas Kling
2020-02-16Userland: Use DirIterator in rmShannon Booth
2020-02-14Userland: Fix error handling in rm programShannon Booth
Fixes: #1218
2020-02-06LibCore: Remove leading C from filenamesAndreas Kling
2020-02-02LibCore: Put all classes in the Core namespace and remove the leading CAndreas Kling
I've been wanting to do this for a long time. It's time we start being consistent about how this stuff works. The new convention is: - "LibFoo" is a userspace library that provides the "Foo" namespace. That's it :^) This was pretty tedious to convert and I didn't even start on LibGUI yet. But it's coming up next.
2020-01-28Userland+Terminal: Port to new CArgsParser APISergey Bugaev
While at it, also add some niceties and fix some things.
2020-01-18Meta: Add license header to source filesAndreas Kling
As suggested by Joshua, this commit adds the 2-clause BSD license as a comment block to the top of every source file. For the first pass, I've just added myself for simplicity. I encourage everyone to add themselves as copyright holders of any file they've added or modified in some significant way. If I've added myself in error somewhere, feel free to replace it with the appropriate copyright holder instead. Going forward, all new source files should include a license header.
2020-01-10rm: When invoked on a symlink, remove the symlink itselfAndreas Kling
2019-09-06AK: Rename <AK/AKString.h> to <AK/String.h>Andreas Kling
This was a workaround to be able to build on case-insensitive file systems where it might get confused about <string.h> vs <String.h>. Let's just not support building that way, so String.h can have an objectively nicer name. :^)
2019-08-24Userland: Remove unnecessary output from "rm"Andreas Kling
2019-06-22Userland: Fix many compiler warnings.Andreas Kling
2019-06-03Userland: Implement recursive `rm`Christopher Dumas
2019-01-22Add unlink() syscall and /bin/rm.Andreas Kling
This patch adds most of the plumbing for working file deletion in Ext2FS. Directory entries are removed and inode link counts updated. We don't yet update the inode or block bitmaps, I will do that separately.