Orbital-Shell icon indicating copy to clipboard operation
Orbital-Shell copied to clipboard

The rm command does'nt works properly at all

Open franck-gaspoz opened this issue 4 years ago • 0 comments

The rm command does'nt works properly at all stupid erros coz try to delete several times the same items + few less rights in windows terminal/any debugger (manifest should elevate privileges but seems to not be supported in .net core)

To Reproduce

> mkdir folderName
> rm folderName -r -v

💥 🔎 the folder is not erased

if not empty:

removed drw--- Feb 19 14:33 C:/Users/franc/Documents/ORBITAL-SHELL/myrep/folder One or more errors occurred. (Could not find a part of the path 'C:\Users\franc\Documents\ORBITAL-SHELL\myrep\folder\hello world.txt'.)

💥 🔎 files and sub-folders deleted, but folder is not erased

Expected behavior no error, anything deleted

context

the complemented is implemented in:

https://github.com/OrbitalShell/Orbital-Shell/blob/master/OrbitalShell-Kernel-Commands/Commands/FileSystem/FileSystemCommands.cs

franck-gaspoz avatar Feb 19 '21 13:02 franck-gaspoz