I know I can do this...
glob('/dir/somewhere/*.zip');
...to get all files ending in .zip
, but is there a way to return all files that are not ZIPs?
Or should I just iterate through and filter off ones with that extension?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…