Differenze
Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.
Entrambe le parti precedenti la revisione Revisione precedente Prossima revisione | Revisione precedente | ||
notes:linux.tips.and.tricks [16/09/2022 20:53] alez [Linux Tips & Tricks] |
notes:linux.tips.and.tricks [14/09/2023 10:31] (versione attuale) alez [Socat / YPort] |
||
---|---|---|---|
Linea 3: | Linea 3: | ||
Move all files matching certain pattern from subdirectories in another single target folder: | Move all files matching certain pattern from subdirectories in another single target folder: | ||
- | ''find . -iname '*.jpg' -exec mv {} ../target/ \;'' | + | <code>find . -iname '*.jpg' -exec mv {} ../target/ \;</code> |
Remove all files matching certain pattern in here and in all subdirectories: | Remove all files matching certain pattern in here and in all subdirectories: | ||
- | ''find . -iname "*.poo" -exec rm -r "{}" \;'' | + | <code>find . -iname "*.poo" -exec rm -r "{}" \;</code> |
Remove all empty subdirectories in here: | Remove all empty subdirectories in here: | ||
- | ''find . -depth -type d -empty -exec rmdir "{}" \;'' | + | <code>find . -depth -type d -empty -exec rmdir "{}" \;</code> |
Linea 47: | Linea 47: | ||
<code>gs -o output.pdf -sDEVICE=pdfwrite -sPAPERSIZE=a4 -dFIXEDMEDIA -dPDFFitPage -dCompatibilityLevel=1.4 input.pdf</code> | <code>gs -o output.pdf -sDEVICE=pdfwrite -sPAPERSIZE=a4 -dFIXEDMEDIA -dPDFFitPage -dCompatibilityLevel=1.4 input.pdf</code> | ||
+ | |||
+ | join and rotate | ||
+ | |||
+ | <code>pdfjam --outfile out.pdf --landscape --angle 90 input1.pdf input2.pdf</code> | ||
===== Reset keyboard ===== | ===== Reset keyboard ===== | ||
Linea 81: | Linea 85: | ||
See also [[http://nairobi-embedded.org/transfering_buildroot_fs_data_into_qemu_disk_images.html]] | See also [[http://nairobi-embedded.org/transfering_buildroot_fs_data_into_qemu_disk_images.html]] | ||
+ | |||
+ | ---- | ||
===== Socat / YPort ===== | ===== Socat / YPort ===== | ||
+ | |||
+ | |||
+ | ''socat -d -d pty,raw,echo=0 pty,raw,echo=0'' | ||