Download from Google Drive using wget in Linux

By default, Google Drive does not allow plain wget commands (e.g. wget google-drive-link) in Linux. The workaround is to use the following syntax:

For example, to download the example.zip file from the Google Drive link below:
https://drive.google.com/open?id=1vzHBVXvpF0dFKaDamJ6THg-0Gc-cSDoR

You can use the following wget command in Linux. Note that you have to enter the google drive file id twice and also enter the file name.
wget --load-cookies /tmp/cookies.txt "https://docs.google.com/uc?export=download&confirm=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate 'https://docs.google.com/uc?export=download&id=1vzHBVXvpF0dFKaDamJ6THg-0Gc-cSDoR' -O- | sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\1\n/p')&id=1vzHBVXvpF0dFKaDamJ6THg-0Gc-cSDoR" -O example.zip && rm -rf /tmp/cookies.txt

Thanks to this website below for the idea:
https:// pc-mind.com/how-to-download-google-drive-files-with-wget-linux-tiny-and-big-file-size/

H-Mart Frederick Maryland opening May 26

H-Mart (a Korean grocery store) is opening a new location in Frederick, Maryland today (May 26, 2017). This is the same location which had a G-Mart about a year back. This is a welcome change so that Frederick residents do not have to drive down to Rockville/Gaithersburg for Asian groceries 🙂

Address:
H-Mart Frederick
1063 W. Patrick St.
Frederick, MD 21702

Phone: (240)566-1405

Links:

Delhi DEL to Washington Dulles IAD Air India direct flights are live on AirIndia.in

Delhi DEL to Washington Dulles IAD Air India direct flights are live on www.airindia.in. Test round trip fares for July to October came to ~ Rs. 69,000 (approx $1060).

The flights start in July 2017, three days a week: Sunday, Wednesday and Friday. The flight time is 14 to 15.5 hours covering ~ 7500 miles on a Boeing 777-200LR (AI 104 and AI 103 respectively).

This direct flight route was announced in January 2017 (USA Today news article)

Open a Wells Fargo Checking account and get $250

If you open a Wells Fargo Everyday Checking account by March 3 2017, you will get a $250 account opening bonus after: a) making 10 debit card purchases/payments or b) set up direct deposit of $500. Either of these need to be completed within 60 days of account opening.

Sign up link: www.wellsfargo.com/welcome250

Also see forum discussions at:

Count number of lines in a file using DOS

To count the number of lines in a file using DOS, use the following command. Replace filename.txt with the actual filename.
findstr /R /N "^" filename.txt | find /C ":"
This is especially useful when the file is very large (say, over 250k lines) and using NotePad to open the file would definitely hang. Just tested the command on a 1.4M lines file and it took about 2 minutes to give me the result.
Reference: http://brett.batie.com/?p=25