Uploading compressed IQ files to Dropbox (or any other cloud storage provider)

The first script only uses the observation id, yes. The later script adds the satellite name. Example:
2059378_KKS-1_KISEKI.wav.xz

Yes, doing some logic based on the variables (not necessarily the TLE; BAUD and SCRIPT_NAME might be more useful) is what I was getting at in Raw IQ files - options for converting? Sorry for being unclear.