Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
04-linux:92-tips-tricks [2017/03/29 23:42] – [youtube download] Roge | 04-linux:92-tips-tricks [2023/12/16 20:58] (Version actuelle) – Roge | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
====== Tips & tricks ====== | ====== Tips & tricks ====== | ||
+ | |||
+ | ===== ISO to bootable USB Key ===== | ||
+ | |||
+ | <code bash> | ||
+ | |||
+ | #liste des devices | ||
+ | blkid | ||
+ | |||
+ | # indispensable de demonter le clé USB | ||
+ | sudo umount /dev/sdd | ||
+ | |||
+ | sudo dd if=image.iso of=/dev/sdx bs=4M status=progress && sync | ||
+ | </ | ||
+ | |||
+ | |||
+ | ===== ISO Windows to bootable USB Key ===== | ||
+ | |||
+ | <code bash> | ||
+ | # Install dependancies | ||
+ | sudo apt install bash dosfstools findutils grep gawk grub-common grub-pc-bin ntfs-3g p7zip-full parted util-linux wget wimtools | ||
+ | |||
+ | |||
+ | # Download WoeUSB | ||
+ | https:// | ||
+ | |||
+ | chmod +x woeusb-N.N.N.bash | ||
+ | |||
+ | # indispensable de demonter le clé USB | ||
+ | sudo umount /dev/sdX | ||
+ | |||
+ | sudo ./ | ||
+ | </ | ||
+ | |||
+ | |||
+ | ===== Recherche recursive ===== | ||
+ | |||
+ | '' | ||
+ | |||
+ | ou | ||
+ | |||
+ | '' | ||
+ | |||
+ | ===== Convert all flac to mp3 ===== | ||
+ | |||
+ | '' | ||
+ | |||
===== Convert mkv to mp4 ===== | ===== Convert mkv to mp4 ===== | ||
Ligne 13: | Ligne 59: | ||
'' | '' | ||
- | Download | + | ==== Download |
- | Download mp3 only: | ||
- | '' | + | '' |
+ | ==== Download vidéo ==== | ||
+ | Config file: '' | ||
+ | |||
+ | <code bash .config/ | ||
+ | # Lines starting with # are comments | ||
+ | |||
+ | -x # Always extract audio | ||
+ | -k # Keep the video file on disk after the post- processing; the video is erased by default | ||
+ | --no-mtime | ||
+ | |||
+ | # Do not download the DASH manifests and related data on YouTube videos | ||
+ | --youtube-skip-dash-manifest | ||
+ | |||
+ | # Save all videos under Movies directory in your home directory | ||
+ | -o ' | ||
+ | |||
+ | # | ||
+ | |||
+ | # Specify ffmpeg/ | ||
+ | --audio-quality 5 | ||
+ | |||
+ | # Download best mp4 format available or any other best if no mp4 available | ||
+ | # -f ' | ||
+ | # Download best format available but not better that 480p | ||
+ | # -f ' | ||
+ | # Download best video only format but no bigger than 50 MB | ||
+ | # -f ' | ||
+ | # Download best format available via direct link over HTTP/HTTPS protocol | ||
+ | # -f ' | ||
+ | # Download the best video format and the best audio format without merging them | ||
+ | #-f ' | ||
+ | |||
+ | -f ' | ||
+ | --merge-output-format mp4 | ||
+ | |||
+ | # Bypass geographic restriction via faking X-Forwarded-For HTTP header (experimental) | ||
+ | --geo-bypass | ||
+ | </ | ||
+ | |||
+ | Using the preceding config : | ||
+ | |||
+ | '' | ||
+ | |||
+ | Without using a config file : | ||
+ | |||
+ | '' | ||
- | ===== Convert all flac to mp3 ===== | ||
- | '' |