우분투에서 어쩌다가 juypyter notebook에서 폴더나 파일을 삭제했을 경우에
다시 어떻게 복원하는지를 찾아보게 되었다.
파일 이름으로 복원하는 방법
%history -g -f anyfilename
리눅스의 경우 삭제된 파일이 완전 삭제되지않는한,
기록되어있는 폴더가 있으니 거기서 찾아오는 방법도 있다.
폴더 위치 :
/home/$USER/.local/share/Trash/anyfilename
[참고]
https://stackoverflow.com/questions/38819322/how-to-recover-deleted-ipython-notebooks
How to recover deleted iPython Notebooks
I have iPython Notebook through Anaconda. I accidentally deleted an important notebook, and I can't seem to find it in trash (I don't think iPy Notebooks go to the trash). Does anyone know how I can
stackoverflow.com
https://towardsdatascience.com/how-to-un-delete-your-jupyter-notebooks-1289e741705f
How to Un-Delete Your Jupyter Notebooks
The metadata science of hacking Jupyter notebooks with SQL and command line fu
towardsdatascience.com
'컴퓨터쟁이 > Python' 카테고리의 다른 글
python pip install requirement.txt 오류나도 끊김없이 설치하기 (0) | 2022.04.01 |
---|---|
pyhton Error :SettingWithCopyWarning 해결 방법 (0) | 2022.03.31 |
error: OpenCV(4.5.3) :-1: error: (-5:Bad argument) in function 'circle' (0) | 2022.03.02 |
python 패키징 하는 방법 2 - py2exe (1) | 2021.08.26 |
python 패키징 하는 방법 1- Pyinstaller (1) | 2021.08.26 |