Skip to content

Instantly share code, notes, and snippets.

@aabril
Created January 31, 2012 12:02
Show Gist options
  • Select an option

  • Save aabril/1710129 to your computer and use it in GitHub Desktop.

Select an option

Save aabril/1710129 to your computer and use it in GitHub Desktop.
list archives <5bytes , removes the .html from their name, and print on a csv compatible format
find ./ -type f -size -5 | awk 'BEGIN {FS=".html"}{print $1}' | awk 'BEGIN {FS="./"}{print $2","}' > urls.csv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment