Some time ago I've had a Mac with a HDD filled with bad sectors. While I had backed up most stuff, I needed an up-to-date iPhoto Library, which was unfortunately broken - on export, iPhoto crashed, just as Python scripts for extraction did. So I've booted Ubuntu from USB drive, plugged in one more external HDD and copied over the entire iPhoto Library folder with this quite stupid command:
cp -r "$HOME/Pictures/iPhoto Library/" "/Volumes/Toshiba/ > "
In other words, everything was copied into a new folder, whose name is '\n'. Mac OS doesn't even notice that folder, neither does Ubuntu. Windows "sees" that folder, but can't rename, open or do anything with it.
My question is, how can I rename this folder to be usable again?