Added by CONG GAO about 4 years ago
Environment: Mac zsh shell
probelm
the file path includes a space
cdo showdate "/Volumes/Cong 3rd/tos_Omon_MPI-ESM1-2-HR_historical_r1i1p1f1_gn_185001-185412.nc" or
cdo showdate /Volumes/Cong\ 3rd/tos_Omon_MPI-ESM1-2-HR_historical_r1i1p1f1_gn_185001-185412.nc
both the methods did not work!
cdo (Abort): Too many streams specified! Operator showdate needs 1 input stream and 0 output stream!
ps:
cd "/Volumes/Cong 3rd/" or
cd /Volumes/Cong\ 3rd/
did work