Jump to content

Recover Deleted File in Data Lab Project


Go to solution Solved by John Brezovec,

Recommended Posts

  • Seeq Team
  • Solution

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:

  1. Open a new terminal session
  2. Find the location of the deleted file with the find command:
    find . -name "Important Notebook.ipynb"
  3. 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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...