Seeq Team John Brezovec Posted July 19 Seeq Team Share Posted July 19 I accidentally deleted a file in a Data Lab project using the Data Lab UI. Is there a way to recover it? Link to comment Share on other sites More sharing options...
Seeq Team Solution John Brezovec Posted July 19 Author Seeq Team Solution Share Posted July 19 Files deleted through the Data Lab UI are put into a Trash folder specific to the current project. Most of the time you can find and restore the deleted file using the Terminal: Open a new terminal session Find the location of the deleted file with the find command: find . -name "Important Notebook.ipynb" Once you know where your file was moved, use the copy command to copy the file back to the desired location. The following example copies the file back to the home directory of the project. Replace the path given in quotes with your result from the find command. cp "./.local/share/Trash/files/Important Notebook.ipynb" ~ Considerations: Files deleted through the terminal with rm are permanently deleted and unrecoverable. If you delete a file, create a new one with the same name, and then delete the new file, a number will be appended to the file when it gets placed in the trash (e.g. Important File 1.ipynb) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now