Skip to content

Instantly share code, notes, and snippets.

@svdmitrij
Last active January 3, 2016 23:49
Show Gist options
  • Save svdmitrij/8538026 to your computer and use it in GitHub Desktop.
Save svdmitrij/8538026 to your computer and use it in GitHub Desktop.
Count files with date (crooked way). Just example for seq.
#!/bin/bash
for i in $(seq 1 31); do
echo $i = `ls -la|grep -c "Jan $i 2013"`;
done;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment