Wednesday, January 19, 2011

To Get File Size using curl

To get a file size using curl

curl -sI $url | grep Content-Length | cut -d ' ' -f 2

No comments: