Giter Site home page Giter Site logo

ratools's Introduction

================  README  ================


1. frgetter: 下載flickr相片集(sets)的工具.

   frgetter會使用到curl,所以使用前請確認已安裝curl,
   Ubuntu使用者可以用"sudo apt-get install curl"指令安裝curl.

   使用方式: frgetter [-o] Flickr_Sets_URL
   例如:
	下載相片集:
	  frgetter http://www.flickr.com/photos/riddleapple/sets/72157627896552339/

	加-o參數,會嘗試下載原始大圖:
	  frgetter -o http://www.flickr.com/photos/riddleapple/sets/72157627896552339/


   如果想一次下載好幾個相片集(sets),可以使用frgetter_list :
   例如:
	先建立一個文字檔,例如dl_list.txt,然後輸入相片集(sets)的網址,一行一個網址:
	  cat dl_list.txt
	  http://www.flickr.com/photos/riddleapple/sets/72157627896552339/
	  http://www.flickr.com/photos/riddleapple/sets/72157627896557783/

	然後下載相片集:
	  frgetter_list dl_list.txt
	
	加-o參數,會嘗試下載原始大圖:
	  frgetter_list -o dl_list.txt



2. renamefiles: 批次改檔名的工具.
   使用方式: renamefile [-a] name file(s)
   例如:
	假設當前目錄下有3個檔案,檔名為:
	  aaa.jpg
	  bbb.jpg
	  ccc.jpg

	如果我想在這3個檔名前面都加上"zzz_",可以這樣使用(要加-a參數):
	  renamefiles -a zzz_ *.jpg

	結果為:
	  zzz_aaa.jpg
	  zzz_bbb.jpg
	  zzz_ccc.jpg


	如果我想這3個檔名依序變成xyz_01.jpg, xyz_02.jpg, xyz_03.jpg,可以這樣用:
	  renamefiles xyz_ *.jpg

	結果為:
	  xyz_01.jpg
	  xyz_02.jpg
	  xyz_03.jpg



3. wretch_dl: 下載無名相簿的工具.

   此工具會用到curl, 所以需安裝curl.

   使用方式: wretch_dl 'Wretch_Album_URL'
   例如:
	wretch_dl 'http://www.wretch.cc/album/album.php?id=riddleapple&book=2'

   其中, 網址要用引號括起來, 因爲要避免網址中的'&'符號被當成shell的特殊字符.


ratools's People

Contributors

riddleling avatar

Stargazers

tmd10470 avatar

Watchers

tmd10470 avatar

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.