Accidentally renamed a lot of directories to "."
Hi,
This is embarrasing.
Well, I was trying to rename directories with spaces in their names.
After running this command: "find -name "* *" -type d | rename 's/ /_/g'" suddenly it apears as that I deleted them all....
But, when I checked the mount points I found this:
----
root@darkstar:~# df -h
Filesystem Size Used Avail Use% Mounted on
...
/dev/sdb1 466G 434G 33G 94% /mnt
----
And then this:
----
root@darkstar:/mnt# du -xh --max-depth=1 . | sort -rn
358G .
252G ./Backup
72K ./movies
55G ./movs
45G ./tv
6,1G ./warez
4,0K ./anime
----
It seems that I moved them all to the dot directory....
Its there a way to access the data?
Thanks in advance for your answers.
|