Alister West

home is where your code is ...

Bash Tools

wget

# Grab a snapshot of an existing site.
wget -P old.slashdot.org -m -w 1 -c http://slashdot.org

generate list

# Print list of files
for i in {2010..2014}{01..12}; do echo file_$i; done

# Assign list of files to a variable
# - Note: no spaces bewteen =
list=$( for i in {2010..2014}{01..12}; do echo file_$i; done )
echo $list
By Alister West