The other day I had a script error which wrote 4 million small text files to my home directory:
I've accidentally written 4 million small text files to a folder, how best to get rid of them?
I deleted those files, but since then whenever I hit tab to complete a filename or path there's a half second delay before anything happens.
Although the files are now deleted, I assume there's some lasting damage to the gpt or similar? Are there any useful tools I can use to clean this up?
The filesystem is ext4 (two 3TB drives in RAID 1) and I'm running CentOS 7.
% ls -ld "$HOME"
drwx------. 8 myname myname 363606016 Nov 18 09:21 /home/myname
Thank you
ls -ld
report on the directory itself, and does it help if you recreate the directory (create a now one, move all contents to this new directory, and remove the old)? – Kusalananda Nov 18 '19 at 09:35ls -ld "$HOME"
output? – Kusalananda Nov 18 '19 at 11:10