-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create moverestorations.sh #305
Create moverestorations.sh #305
Conversation
script that moves older transcription disc restorations into a directory and creates a readme.txt file
echo "==============================" >> "$readme_file" | ||
|
||
# identify old & new wav file | ||
for wav_file in $wav_files; do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do you confirm this works for packages with multiple wav files in the restoration folder?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yup. it considers multiple wav files with suffixes(?) like SDA255_1.wav and SDA255_01.wav.
attached is the readme that the script produces that logs the file move to the 'restoration_old' directory
-moved variables in double quotes -added checks restoration_old directory and oldrestoration_readme.txt -added -n flag when wav files are moved -removed interaction and now loops over input directories
provide script usage instruction if no input provided
script that moves older transcription disc restorations into a directory and creates a readme.txt file