I am relatively new to Shell Scripting and was facing the following issue. I want to download the latest freebase dump from http://commondatastorage.googleapis.com/freebase-public/ site. I know the file name format - freebase-rdf-.gz e.g freebase-rdf-2014-01-12-00-00.gz.
I checked and the "wget" command gets the file. However my problem is that I need to find out the latest data dump and then run the wget command to download the file from the site. I checked that the wget command doesn't accept regular expressions.
Can anyone help me with this problem ?