Lock Directory

Did not find in Help File. But maybe there is a way to Lock a directory. I would like to Lock subdirectories so no deletion can be made. I would still like the ability to add folders and files even if locked.

You can use file permissions for that, although it can be quite a complex subject and depends on what else you want to do with the files/folders, as well as how the software editing them works.

For example, some software saves changes to a new file, deletes the old file, then renames the new version into its place. If you block delete access via permissions, you're going to break the ability to edit files in some software, not just delete them.

My issue is during the process of deleting or moving files and folders. The only app I will use during this process is Opus. Once the process is done, house cleaning, I will be back to normal. It is more to protect the file system from me. Maybe I'll have to develop some kind of a more deliberate action, creating a button, for my deletes and moves while I'm cleaning house.

You could change your Delete button or hotkey to something like this:

@ifpath:(D:\test|D:\test\*|E:\New Folder)
@confirm:Sorry, Sir! Forbidden territory!

1 Like