Just a coder and a dad. I love my family and I love to code!!!! started coding at 11, so I have 25 years under my belt. Still love learning about it every day. Black lives matter!
$ rm -r .Trash-1003
rm: cannot remove '.Trash-1003/files/.git/objects/8f/*/*': Too many levels of symbolic links
rm: cannot remove '.Trash-1003/files/.git/objects/8f/*/.. (/8f': Too many levels of symbolic links
rm: cannot remove '.Trash-1003/files/.git/objects/8f/*/.. (': Directory not empty
rm: cannot remove '.Trash-1003/files/.git/objects/8f/.. (/8f': Too many levels of symbolic links
rm: cannot remove '.Trash-1003/files/.git/objects/8f/.. (': Directory not empty
$ alias d
alias d='rm -vr --one-file-system --preserve-root '
$ alias noask
alias noask='-f '
$ d noask .Trash-1003/
rm: cannot remove '.Trash-1003/files/.git/objects/8f/*/*': Too many levels of symbolic links
rm: cannot remove '.Trash-1003/files/.git/objects/8f/*/.. (/8f': Too many levels of symbolic links
rm: cannot remove '.Trash-1003/files/.git/objects/8f/.. (/8f': Too many levels of symbolic links
Just a coder and a dad. I love my family and I love to code!!!! started coding at 11, so I have 25 years under my belt. Still love learning about it every day. Black lives matter!
Worked, I had to move it off the external drive though. I had to not use my aliases though, which was weird. It would give the error when I tried to move it also.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Did you try via terminal running ‘rm -r .git’?
‘rm -rf .git’ will tell it to force delete the symlink and not follow.
Worked, I had to move it off the external drive though. I had to not use my aliases though, which was weird. It would give the error when I tried to move it also.