You know, I've used Warp for a while now and I remember them releasing the AI feature and ignoring it because it sounded like a cute gimmick to look good for VC fundraising, but I just played around with it now and it's actually pretty impressive.
Tested on a folder of pictures I have called 2022
"Count how many files are in the folder called 2022"
ls 2022 | wc -l
"List all the files in the folder called 2022 and their files sizes"
ls -lh 2022/*
"Count how many files are in the folder called 2022 that are over 1MB"
find 2022 -type f -size +1M | wc -l
"Count how many unique file types are in the folder called 2022"
find 2022 -type f | sed 's/.*\.//' | sort | uniq -c
Tested on a folder of pictures I have called 2022
"Count how many files are in the folder called 2022"
ls 2022 | wc -l
"List all the files in the folder called 2022 and their files sizes"
ls -lh 2022/*
"Count how many files are in the folder called 2022 that are over 1MB"
find 2022 -type f -size +1M | wc -l
"Count how many unique file types are in the folder called 2022"
find 2022 -type f | sed 's/.*\.//' | sort | uniq -c