$ 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
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.