Upgrade to Pro — share decks privately, control downloads, hide ads and more …

会社PCでrm -rf ~した話 / rm_rf_choron

uhooi
December 12, 2023

会社PCでrm -rf ~した話 / rm_rf_choron

TechTalk #89

uhooi

December 12, 2023
Tweet

More Decks by uhooi

Other Decks in Programming

Transcript

  1. ઃఆϑΝΠϧ • dot fi les Λ GitHub ΁্͍͛ͯͨͷͰɺͦΕΛೖΕ௚͢ͷΈ • https://github.com/uhooi/dot

    fi lesɹˡ🌟͍ͩ͘͞ • Homebrew Ͱ؅ཧ͍ͯͨ͠ CLI πʔϧ͸ɺݸਓ PC Ͱ brew bundle dump Λ࣮ߦ͠ɺձࣾ PC Ͱ brew bundle Λ࣮ߦͯ͠ೖ Ε௚ͨ͠
  2. ʮtrash-cliʯͱ͸ʁ • ϑΝΠϧ΍σΟϨΫτϦΛΰϛശʢ~/.local/share/Trash/files/ʣ΁Ҡಈ͢Δ CLI πʔϧ • ̑ͭͷίϚϯυ͕༻ҙ͞Ε͍ͯΔ • trash-put: ϑΝΠϧΛΰϛശ΁ೖΕΔ

    • trash-empty: ΰϛശΛۭʹ͢Δ • trash-list: ΰϛശͷத਎ΛݟΔ • trash-restore: ϑΝΠϧΛΰϛശ͔Βग़͢ • trash-rm: ϑΝΠϧΛΰϛശ͔Β࡟আ͢Δ