bash zip the the files under projects with the following extensions: txt py sh xlsx R…
- User
bash zip the the files under projects with the following extensions:
txt py sh xlsx R .txt excluding .txt
to work_station_250606.tar.gz
Assistant
( cd projects && find . -type f \( -name "*.txt" -o -name "*.py" -o -name "*.sh" -o -name "*.xlsx" -o -name "*.R" \) ! -regex ".*\/[0-9]+\.txt$" -print0 | tar --null -czvf ../work_station_250606.tar.gz -T - )Would you like me to explain or break down this code?
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.