Coder Social home page Coder Social logo

rbochet / national-geographic-wallpaper-download Goto Github PK

View Code? Open in Web Editor NEW
6.0 6.0 1.0 274 KB

These scripts allow you to automagically download the National Geographic Wallpaper without having to walk through all the collections

Home Page: http://blog.stackr.fr/2011/01/rotation-fond-ecrans-wallpapers-national-geographic/

Shell 100.00%

national-geographic-wallpaper-download's People

Contributors

borx avatar rbochet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

borx

national-geographic-wallpaper-download's Issues

doesn't work for me

tried on
Darwin yannickBookPro.local 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386

and Linux dee-serv03 2.6.9-67.0.4.EL_SFS2.3_0smp #1 SMP Thu Jan 15 12:37:17 CET 2009 x86_64 x86_64 x86_64 GNU/Linux

using bash. eg output:

-bash-3.00$ ./getByYear.sh  10
-bash-3.00$ Downloading 10/10
Downloading 11/10
Downloading 12/10

-bash-3.00$ ls wallpapers/
-bash-3.00$ ls
getByMonth.sh  getByYear.sh  README.md  wallpapers

loop 01..12 is not correct

loop 01..12 is not correct, it is equle 1..12, not prefix 0
a simple method is

!/bin/bash

YEAR=$1

./getByMonth.sh $YEAR 01 &
./getByMonth.sh $YEAR 02 &
./getByMonth.sh $YEAR 03 &
./getByMonth.sh $YEAR 04 &
./getByMonth.sh $YEAR 05 &
./getByMonth.sh $YEAR 06 &
./getByMonth.sh $YEAR 07 &
./getByMonth.sh $YEAR 08 &
./getByMonth.sh $YEAR 09 &
./getByMonth.sh $YEAR 10 &
./getByMonth.sh $YEAR 11 &
./getByMonth.sh $YEAR 12 &

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.