Hi, I realize that after a phenix run, especially autobuild and autosol, there are a lot of temporary files. Is there a way to clean up the disk? Even the .geo file can be removed after some time, because it is huge and can be easily regenerated. -- Jianghai
On Wed, 2010-08-18 at 10:14 -0400, Jianghai Zhu wrote:
I realize that after a phenix run, especially autobuild and autosol, there are a lot of temporary files. Is there a way to clean up the disk? Even the .geo file can be removed after some time, because it is huge and can be easily regenerated.
It may be a good idea to change your defaults so that all the files you'll only use once in a lifetime will not be generated. Prevention, prevention, prevention :) Something like this rm */*.geo will get rid of the .geo files for a particular project. Careful with rm and * combination - it always helps to run the same command with ls instead of rm just to see what files will actually get deleted (or use rm -i which will ask for confirmation for every file). If all your projects are in the same master folder, something like rm */*/*.geo issued there will clean up everything - you get the idea. But don't blame me if you accidentally wipe all your data. rm is not for the weak, the files are practically gone forever. On Linux (Ubuntu at least) you can move set of files to trash can using "trash" instead of rm if you put this alias into your .bashrc alias trash='mv -t ~/.local/share/Trash/files --backup=t' There is also trash-cli command line interface - rather handy for the paranoid types like myself. All the wildcard flexibility plus recovery option. In the future I should stick to the question which was actually asked :) Ed. -- "I'd jump in myself, if I weren't so good at whistling." Julian, King of Lemurs
On Wed, Aug 18, 2010 at 7:14 AM, Jianghai Zhu
I realize that after a phenix run, especially autobuild and autosol, there are a lot of temporary files. Is there a way to clean up the disk? Even the .geo file can be removed after some time, because it is huge and can be easily regenerated.
When running the wizards, try adding this: clean_up=True which should erase TEMP0. I assume you're using the command line, but I'll add this to the GUI too. (It will also be easier to manage old result directories in the GUI, once I finish cleaning up the project management.) -Nat
Hi Jianghai, You can do this in two ways for autosol and autobuild: 1. in your original runs, you can say clean_up=True (default is False): clean_up= False At the end of the entire run the TEMP directories will be removed if clean_up is True. The default is No, keep these directories. If you want to remove them after your run is finished use a command like "phenix.autobuild run=1 clean_up=True" 2. after you are done with a run you can remove any TEMP0 subdirectories in your runs, as all the key files have been written to the main directories (AutoSol_run_1_ etc). All the best, Tom T On Aug 18, 2010, at 8:14 AM, Jianghai Zhu wrote:
Hi,
I realize that after a phenix run, especially autobuild and autosol, there are a lot of temporary files. Is there a way to clean up the disk? Even the .geo file can be removed after some time, because it is huge and can be easily regenerated.
-- Jianghai
_______________________________________________ phenixbb mailing list [email protected] http://phenix-online.org/mailman/listinfo/phenixbb
Thomas C. Terwilliger Mail Stop M888 Los Alamos National Laboratory Los Alamos, NM 87545 Tel: 505-667-0072 email: [email protected] Fax: 505-665-3024 SOLVE web site: http://solve.lanl.gov PHENIX web site: http:www.phenix-online.org ISFI Integrated Center for Structure and Function Innovation web site: http://techcenter.mbi.ucla.edu TB Structural Genomics Consortium web site: http://www.doe-mbi.ucla.edu/TB CBSS Center for Bio-Security Science web site: http://www.lanl.gov/cbss
participants (4)
-
Ed Pozharski
-
Jianghai Zhu
-
Nathaniel Echols
-
Tom Terwilliger