mirror of
https://github.com/tw93/Mole.git
synced 2026-02-06 17:47:57 +00:00
feat: Skip TimeMachine cleaning if running
This commit is contained in:
@@ -100,6 +100,9 @@ run_with_timeout() { return 1; }
|
||||
clean_ds_store_tree() { :; }
|
||||
start_section_spinner() { :; }
|
||||
stop_section_spinner() { :; }
|
||||
is_path_whitelisted() { return 1; }
|
||||
WHITELIST_PATTERNS=()
|
||||
PROTECT_FINDER_METADATA="false"
|
||||
scan_external_volumes
|
||||
EOF
|
||||
|
||||
|
||||
@@ -125,6 +125,8 @@ tmutil() {
|
||||
}
|
||||
start_section_spinner(){ :; }
|
||||
stop_section_spinner(){ :; }
|
||||
tm_is_running(){ return 1; }
|
||||
tm_snapshots_mounted(){ return 1; }
|
||||
|
||||
DRY_RUN="false"
|
||||
clean_local_snapshots
|
||||
@@ -154,6 +156,8 @@ tmutil() {
|
||||
start_section_spinner(){ :; }
|
||||
stop_section_spinner(){ :; }
|
||||
note_activity(){ :; }
|
||||
tm_is_running(){ return 1; }
|
||||
tm_snapshots_mounted(){ return 1; }
|
||||
|
||||
DRY_RUN="true"
|
||||
clean_local_snapshots
|
||||
@@ -188,6 +192,8 @@ tmutil() {
|
||||
start_section_spinner(){ :; }
|
||||
stop_section_spinner(){ :; }
|
||||
note_activity(){ :; }
|
||||
tm_is_running(){ return 1; }
|
||||
tm_snapshots_mounted(){ return 1; }
|
||||
|
||||
unset -f read_key
|
||||
|
||||
|
||||
Reference in New Issue
Block a user