User Tools

Site Tools


bash

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
bash [2017/03/04 18:55]
leo
bash [2019/04/29 01:42] (current)
leo
Line 8: Line 8:
  
 <​code>​for i in *.mp4 ; do ffmpeg -i "​$i"​ -acodec copy "​$(basename "​${i/​.mp4}"​).aac";​ done</​code>​ <​code>​for i in *.mp4 ; do ffmpeg -i "​$i"​ -acodec copy "​$(basename "​${i/​.mp4}"​).aac";​ done</​code>​
 +
 +pour télécharger une suite de fichier
 +
 +[[https://​www.electrictoolbox.com/​curl-download-sequence-files/​|source]]
 +
 +Pour 1, 2, 3, 4, etc…
 +
 +<​code>​curl -O https://​domain.tld/​path/​filename[0-9].png</​code>​
 +
 +Pour 01, 02, 03, 04, etc…
 +
 +<​code>​curl -O https://​domain.tld/​path/​filename[00-9].png</​code>​
bash.txt · Last modified: 2019/04/29 01:42 by leo