Hi, here is my latest version ; Master Capela, can you confirm that it will effectively delete any leftover file?
Note: It is designed to work with both zsh and (ba)sh
function px-qtractor-takes-cleanup () { [[ "${2:-}" == "--delete" ]] && COMMAND="rm -fv" || COMMAND="ls" echo "Usage: $0 qtr_session_file [--delete)]" for file in *.wav* *.mid* ; do grep -q -F "$file" $1 || eval $COMMAND " $file" done }
Copyright (C) 2006-2024 rncbc aka Rui Nuno Capela. All rights reserved.
Powered by Drupal
Recent comments
1 hour 33 min ago
3 hours 4 min ago
3 hours 8 min ago
13 hours 31 min ago
1 day 1 hour ago
1 day 9 hours ago
1 day 11 hours ago
2 days 1 hour ago
2 days 2 hours ago
2 days 2 hours ago