I have 2 hard drive in my workstation:
- SSD for system files and current working project
- HDD for snap/flatpak caches, downloads etc familiar In some time I reached the limit of SSD and moved older projects to HDD. However, I want to save access to them from a familiar directory. I spent some time in Google and compose a simple terminal command:
while IFS= read -r -d '' n; do \
ln -s "$(pwd)/$(basename "$n")" $HOME/Project/"$(basename "$n")"; \
done < <(find . -maxdepth 1 -mindepth 1 -print0)

