Was doing Linux for robotics course and logged of the computer a while and I come back and see that the src folder is empty, is there any way to recover the files??
check you Trash folder, if not there, i dont think you can, atleast easily. If repository is on git you can clone it again or update.
Assume you have already confirmed, but ask just incase. Is there any chance you are in a different src directory than expected? Does “pwd” give the expected path?
For example, is there an chance the empty folder is:
~/catkin_ws/src/<my_awesome_package>/scr/
but the expected folder is:
~/catkin_ws/src/
or
~/catkin_ws/src/<my_other_awesome_package>/scr/
… and still contains the desired content?
can you guide me how to access the trash folder, I cant seem to find it
You could have inadvertently executed a command that deleted them. Files don’t disappear suddenly here.
Let me see if we have a version of your workspace that has those files.
Update: I have restored a previous version of your workspace that appears to have those files. Please check if they are there and let us know.
Thank you so much
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.