cd /mnt/nas/zeqianli/datasets/youcook2 for file in *.zip; do unzip "$file" -d "${file%.*}" done