Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.stsci.edu/spst/UnixTransition/doc/clean_pass.html
Дата изменения: Fri Apr 8 12:46:14 2016 Дата индексирования: Mon Apr 11 00:38:05 2016 Кодировка: Поисковые слова: п п п п п |
clean_pass (version 11/1/10) | index clean_pass.py |
PURPOSE --
Manage disk space for specified directories and files.
DEVELOPER --
Greg Wenzel
MODIFICATION HISTORY --
o Initial implementation 03/16/04
o add more files to cleanup dc 1/29/07
o add avtut directory dc 9/11/08
o don't error out if a directory is undeleteable. drc 11/1/10
Modules | ||||||
|
Functions | ||
|
Data | ||
CONTROLLED_DIRECTORIES = [{'clean_list': [('stp.*', 16), ('*.orb_notif', 0), ('*.temp', 0)], 'glob_directory': '/data/scheduling/spss_flight_data/pass/ephem', 'is_directory': 0, 'persistence_time': 2419200.0}, {'clean_list': [('150_*.asc', 8), ('150_*.dat', 8), ('171_*.asc', 8), ('171_*.dat', 8), ('172_*.asc', 8), ('172_*.dat', 8), ('174_*.asc', 8), ('174_*.dat', 8), ('275_*.asc', 8), ('275_*.dat', 8), ('tde_*.dat', 8), ('tde_*.asc', 8), ('tdw_*.dat', 8), ('tdw_*.asc', 8), ('tds_*.asc', 8), ('tds_*.dat', 8), ('tdrs_*', 16)], 'glob_directory': '/data/scheduling/spss_flight_data/pass/ephem', 'is_directory': 0, 'persistence_time': 31449600.0}, {'clean_list': [('std*.*', 16), ('unmerged_*.*', 4), ('*.orb_notif', 0), ('*.temp', 0)], 'glob_directory': '/data/scheduling/spss_flight_data/pass/def_ephem', 'is_directory': 0, 'persistence_time': 2419200.0}, {'clean_list': [('*.instruct', 0), ('gstdn_*.*', 16), ('replace_*.*', 4), ('sch_*.*', 16), ('update_*.nml', 16)], 'glob_directory': '/data/scheduling/spss_flight_data/pass/sched', 'is_directory': 0, 'persistence_time': 2419200.0}, {'clean_list': [('*stp_*.raw', 4), ('*std_*.raw', 4), ('*hst_linesumm*.*', 4), ('*.bin_error', 0), ('*.txt_error', 0)], 'glob_directory': '/data/scheduling/spss_flight_data/pass/fdf', 'is_directory': 0, 'persistence_time': 2419200.0}, {'clean_list': [('*_TDE_ieee*.raw', 4), ('*_TDW_ieee*.raw', 4), ('*_TDS_ieee*.raw', 4), ('*_150_ieee*.raw', 4), ('*_171_ieee*.raw', 4), ('*_172_ieee*.raw', 4), ('*_275_ieee*.raw', 4)], 'glob_directory': '/data/scheduling/spss_flight_data/pass/fdf', 'is_directory': 0, 'persistence_time': 31449600.0}, {'clean_list': [('sa*_*.dat', 4), ('ta*_*.dat', 4), ('sb*_*.dat', 4), ('sc*_*.dat', 4), ('sa*_*.bas', 4), ('ta*_*.bas', 4), ('sb*_*.bas', 4), ('sc*_*.bas', 4), ('sd*_*.bas', 4)], 'glob_directory': '/data/scheduling/spss_flight_data/pass/clin', 'is_directory': 0, 'persistence_time': 2419200.0}, {'clean_list': [('*.sms', 4), ('*.csh', 4), ('sa*.cin', 4), ('ga*.cin', 4), ('ta*.cin', 4), ('sb*.cin', 4), ('sc*.cin', 4), ('sa*.bas', 4), ('ga*.bas', 4), ('ta*.bas', 4), ('sb*.bas', 4), ('sc*.bas', 4), ('sd*.bas', 4), ('*.sms~', 0), ('*.csh~', 0), ('sa*.cin~', 0), ('ga*.cin~', 0), ('ta*.cin~', 0), ('sb*.cin~', 0), ('sc*.cin~', 0), ...], 'glob_directory': '/data/scheduling/spss_flight_data/pass/msin', 'is_directory': 0, 'persistence_time': 2419200.0}, {'clean_list': [('sa*', 4), ('ga*', 4), ('ta*', 4), ('sb*', 4), ('sc*', 4), ('sd*', 4)], 'glob_directory': '/data/scheduling/spss_flight_data/pass/ms', 'is_directory': 1, 'persistence_time': 2419200.0}, {'clean_list': [('sa*', 4), ('ga*', 4), ('ta*', 4), ('sb*', 4), ('sc*', 4), ('sd*', 4)], 'glob_directory': '/data/scheduling/spss_flight_data/pass/cl', 'is_directory': 1, 'persistence_time': 2419200.0}, {'clean_list': [('sa*', 4), ('ta*', 4), ('sb*', 4), ('sc*', 4), ('sd*', 4)], 'glob_directory': '/data/scheduling/spss_flight_data/pass/mosr', 'is_directory': 1, 'persistence_time': 2419200.0}, {'clean_list': [('sa*', 4), ('ga*', 4), ('ta*', 4), ('sb*', 4), ('sc*', 4), ('sd*', 4)], 'glob_directory': '/data/scheduling/spss_flight_data/pass/sars', 'is_directory': 1, 'persistence_time': 2419200.0}, {'clean_list': [('*.csh', 10)], 'glob_directory': '/data/scheduling/spss_flight_data/pass/scripts', 'is_directory': 0, 'persistence_time': 2419200.0}, {'clean_list': [('mscl_*.pickle', 10), ('sch_*.pickle', 10), ('eph_*.pickle', 10), ('pdb_*.pickle', 10), ('cal_*.pickle', 10)], 'glob_directory': '/data/scheduling/spss_flight_data/pass/pickles', 'is_directory': 0, 'persistence_time': 2419200.0}, {'clean_list': [('*.instruct', 0), ('*_notif', 0)], 'glob_directory': '/data/scheduling/spss_flight_data/pass/workspace', 'is_directory': 0, 'persistence_time': 2419200.0}, {'clean_list': [('g*', 0), ('t*', 0), ('s*', 0), ('e*', 0)], 'glob_directory': '/data/scheduling/spss_flight_data/pass/tdo', 'is_directory': 1, 'persistence_time': 2419200.0}, {'clean_list': [('g*', 0), ('t*', 0), ('s*', 0), ('e*', 0)], 'glob_directory': '/data/scheduling/spss_flight_data/pass/avtut', 'is_directory': 1, 'persistence_time': 2419200.0}, {'clean_list': [('.log', 20)], 'glob_directory': '/data/scheduling/spss_flight_data/pass/logs', 'is_directory': 0, 'persistence_time': 2419200.0}] FALSE = 0 False = 0 PASSOUT = '/data/scheduling/spss_flight_data/pass' TRUE = 1 True = 1 __version__ = '11/1/10' false = 0 true = 1 |