tmd10470 / ratools Goto Github PK
View Code? Open in Web Editor NEWwretch
Home Page: https://github.com/tmd10470/raTools
wretch
Home Page: https://github.com/tmd10470/raTools
================ 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的特殊字符.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.