trash-cli AntiX 19 Icewm

  • This topic has 4 replies, 2 voices, and was last updated Oct 30-1:19 pm by rokytnji.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #28560
    Forum Admin
    rokytnji

    After dist-upgrading this chromebook from AntiX 17 to AntiX 19.
    Plus. Since the drive is only 16 gig for / and /home both.

    I’ve been wondering . I am left with a lot of cruft named old.

    harry@biker:~
    $ locate .old
    /boot/initrd.img-4.10.5-antix.3-amd64-smp.old-dkms
    /boot/initrd.img-4.20.0-antix.1-amd64-smp.old-dkms
    /boot/initrd.img-4.20.12-antix.1-amd64-smp.old-dkms
    /boot/initrd.img-4.9.186-antix.1-amd64-smp.old-dkms
    /etc/xml/catalog.old
    /etc/xml/docbook-xml.xml.old
    /etc/xml/sgml-data.xml.old
    /etc/xml/xml-core.xml.old
    /home/harry/.config/google-chrome/Default/LOG.old
    /home/harry/.config/google-chrome/Default/AutofillStrikeDatabase/LOG.old
    /home/harry/.config/google-chrome/Default/BudgetDatabase/LOG.old
    /home/harry/.config/google-chrome/Default/Download Service/EntryDB/LOG.old
    /home/harry/.config/google-chrome/Default/Extension Rules/LOG.old
    /home/harry/.config/google-chrome/Default/Extension State/LOG.old
    /home/harry/.config/google-chrome/Default/Feature Engagement Tracker/AvailabilityDB/LOG.old
    /home/harry/.config/google-chrome/Default/Feature Engagement Tracker/EventDB/LOG.old
    /home/harry/.config/google-chrome/Default/File System/039/p/Paths/LOG.old
    /home/harry/.config/google-chrome/Default/File System/058/t/Paths/LOG.old
    /home/harry/.config/google-chrome/Default/File System/Origins/LOG.old
    /home/harry/.config/google-chrome/Default/GCM Store/LOG.old
    /home/harry/.config/google-chrome/Default/GCM Store/Encryption/LOG.old
    /home/harry/.config/google-chrome/Default/IndexedDB/chrome-extension_cjpalhdlnbpafiamejdnhcphjbkeiagm_0.indexeddb.leveldb/LOG.old
    /home/harry/.config/google-chrome/Default/IndexedDB/https_docs.google.com_0.indexeddb.leveldb/LOG.old
    /home/harry/.config/google-chrome/Default/IndexedDB/https_drive.google.com_0.indexeddb.leveldb/LOG.old
    /home/harry/.config/google-chrome/Default/IndexedDB/https_mail.google.com_0.indexeddb.leveldb/LOG.old
    /home/harry/.config/google-chrome/Default/IndexedDB/https_www.ebay.com_0.indexeddb.leveldb/LOG.old
    /home/harry/.config/google-chrome/Default/IndexedDB/https_www.facebook.com_0.indexeddb.leveldb/LOG.old
    /home/harry/.config/google-chrome/Default/IndexedDB/https_www.google.com_0.indexeddb.leveldb/LOG.old
    /home/harry/.config/google-chrome/Default/IndexedDB/https_www.youtube.com_0.indexeddb.leveldb/LOG.old
    /home/harry/.config/google-chrome/Default/Local Extension Settings/aapbdbdomjkkjkaonfhkkikfgjllcleb/LOG.old
    /home/harry/.config/google-chrome/Default/Local Extension Settings/alplpnakfeabeiebipdmaenpmbgknjce/LOG.old
    /home/harry/.config/google-chrome/Default/Local Extension Settings/cjpalhdlnbpafiamejdnhcphjbkeiagm/LOG.old
    /home/harry/.config/google-chrome/Default/Local Extension Settings/ghbmnnjooekpmoecnnnilnnbdlolhkhi/LOG.old
    /home/harry/.config/google-chrome/Default/Local Extension Settings/oemmndcbldboiebfnladdacbdfmadadm/LOG.old
    /home/harry/.config/google-chrome/Default/Local Storage/leveldb/LOG.old
    /home/harry/.config/google-chrome/Default/Managed Extension Settings/alplpnakfeabeiebipdmaenpmbgknjce/LOG.old
    /home/harry/.config/google-chrome/Default/Managed Extension Settings/cjpalhdlnbpafiamejdnhcphjbkeiagm/LOG.old
    /home/harry/.config/google-chrome/Default/Managed Extension Settings/oemmndcbldboiebfnladdacbdfmadadm/LOG.old
    /home/harry/.config/google-chrome/Default/Platform Notifications/LOG.old
    /home/harry/.config/google-chrome/Default/Service Worker/Database/LOG.old
    /home/harry/.config/google-chrome/Default/Session Storage/LOG.old
    /home/harry/.config/google-chrome/Default/Site Characteristics Database/LOG.old
    /home/harry/.config/google-chrome/Default/Storage/ext/gdebnehfojpoccpaocfbelbclfnpbmij/def/Platform Notifications/LOG.old
    /home/harry/.config/google-chrome/Default/Sync App Settings/mkaemigholebcgchlkbankmihknojeak/LOG.old
    /home/harry/.config/google-chrome/Default/Sync App Settings/mmfbcljfglbokpmkimbfghdkjmjhdgbg/LOG.old
    /home/harry/.config/google-chrome/Default/Sync App Settings/mpkhmenokpjamhajlajnldibdjkacgcp/LOG.old
    /home/harry/.config/google-chrome/Default/Sync App Settings/obklkkbkpaoaejdabbfldmcfplpdgolj/LOG.old
    /home/harry/.config/google-chrome/Default/Sync Data/LevelDB/LOG.old
    /home/harry/.config/google-chrome/Default/Sync Extension Settings/oemmndcbldboiebfnladdacbdfmadadm/LOG.old
    /home/harry/.config/google-chrome/Default/Sync Extension Settings/pkedcjkdefgpdelpbcmbmeomcjbeemfm/LOG.old
    /home/harry/.config/google-chrome/Default/VideoDecodeStats/LOG.old
    /home/harry/.config/google-chrome/Default/data_reduction_proxy_leveldb/LOG.old
    /home/harry/.config/google-chrome/Default/shared_proto_db/LOG.old
    /home/harry/.config/google-chrome/Default/shared_proto_db/metadata/LOG.old
    /home/harry/.desktop-session/log.old
    /usr/share/doc/hdparm/changelog.old.gz
    /usr/share/doc/manpages/Changes.old.gz
    /usr/share/icewm/themes/Breathe Yellow/default.theme.old
    /usr/share/icewm/themes/Breathe Yellow Pale/default.theme.old
    /usr/share/misc/pci.ids.old
    /var/lib/sgml-base/supercatalog.old
    /var/log/Xorg.0.log.old
    /var/log/live-usb-maker-gui-antix.log.old
    

    Which is a good thing in it’s own way as these are your backups when you upgrade.

    I already installed trash-cli with apt-get. My plan was to use

    trash /path/to/file

    For each line I showed in locate command. Trash cli won’t delete nothing yet and things can be restored from trash with

    1st to see what is there

    trash-list

    To delete all listed at once

    trash-empty

    If I wanna keep and restore what I put in trash

    restore-trash

    The restore-trash command will list all of the files in the trash with a number next to each one. To restore a file simply enter the number next to the file.

    Since before upgrade I was cruzing at about 7 gig for my full install. Now upped to

    harry@biker:~
    $ df -h
    Filesystem      Size  Used Avail Use% Mounted on
    udev            1.9G     0  1.9G   0% /dev
    tmpfs           389M  488K  388M   1% /run
    /dev/sda1        15G  8.5G  5.5G  61% /
    tmpfs           5.0M  4.0K  5.0M   1% /run/lock
    tmpfs           777M   25M  753M   4% /dev/shm
    tmpfs           1.9G     0  1.9G   0% /sys/fs/cgroup
    tmpfs           389M  4.0K  389M   1% /run/user/1000
    

    I might get lucky and slim and trim down thing to back to normal. Like a fresh install .

    Any holes in my idea?

    Sometimes I drive a crooked road to get my mind straight.
    Not all who Wander are Lost.
    I'm not outa place. I'm from outer space.

    Linux Registered User # 475019
    How to Search for AntiX solutions to your problems

    #28561
    Forum Admin
    rokytnji
    Helpful
    Up
    0
    :D

    More for this thread

    harry@biker:~
    $ trash -help
    Usage: trash [OPTION]... FILE...
    
    Put files in trash
    
    Options:
      --version            show program's version number and exit
      -h, --help           show this help message and exit
      -d, --directory      ignored (for GNU rm compatibility)
      -f, --force          ignored (for GNU rm compatibility)
      -i, --interactive    ignored (for GNU rm compatibility)
      -r, -R, --recursive  ignored (for GNU rm compatibility)
      -v, --verbose        explain what is being done
    
    To remove a file whose name starts with a '-', for example '-foo',
    use one of these commands:
    
        trash -- -foo
    
        trash ./-foo
    
    Report bugs to https://github.com/andreafrancia/trash-cli/issues
    

    More info on using it

    man trash

    Sometimes I drive a crooked road to get my mind straight.
    Not all who Wander are Lost.
    I'm not outa place. I'm from outer space.

    Linux Registered User # 475019
    How to Search for AntiX solutions to your problems

    #28568
    Member
    fungalnet
    Helpful
    Up
    0
    :D

    I say pull the trigger, I don’t see anything on the list worth falling in love with.
    I also use bleachbit and if your access to network is safely always on you can delete /usr/share/man too 🙂
    Once you run bleachbit as user and as root on the gui then running $bleachbit -c –preset only cleans what you had last set it to. It is really fast and the output is on console/term.

    #28741
    Forum Admin
    rokytnji
    Helpful
    Up
    0
    :D

    Update on using this. It is not accomplishing the space saving I want. 3 or 4 gigs shaved off would be OK.

    A lot of steps need to be taken by me because of permission denied errors using root terminal with this command.
    Seems I have to cd closer to the file 1st.
    Most old files are in google chrome default folder and will not grab the space I need either.

    I just did a fresh install on my IBM 430 laptop on a fresh 500 gig drive.
    Full Install with dist-upgrade done and autoclean done weighs in at 3.5 gig.

    That is a lot smaller than my 8 gig upgrade from 17 to 19. On yjis Chromebook.

    So. Re-installing is looking better on this Chromebook as I don’t use it much except as a large screen phone type of hardware that is a tied in with phone when camping.
    Nothing really precious on the Chromebook.

    Sometimes I drive a crooked road to get my mind straight.
    Not all who Wander are Lost.
    I'm not outa place. I'm from outer space.

    Linux Registered User # 475019
    How to Search for AntiX solutions to your problems

    #28745
    Forum Admin
    rokytnji
    Helpful
    Up
    0
    :D

    Since I last posted. Fresh Install.

    harry@biker:~
    $ df -h
    Filesystem      Size  Used Avail Use% Mounted on
    udev            1.9G     0  1.9G   0% /dev
    tmpfs           390M  460K  389M   1% /run
    /dev/sda1        15G  3.7G   11G  27% /
    tmpfs           5.0M  4.0K  5.0M   1% /run/lock
    tmpfs           779M   39M  741M   5% /dev/shm
    tmpfs           2.0G     0  2.0G   0% /sys/fs/cgroup
    tmpfs           390M  4.0K  390M   1% /run/user/1000
    

    Took only a couple minutes vs dist-upgrade route I took earlier. Also. What I backed up fit on pen drive and won’t amount to a gig of data.

    harry@biker:~
    $ inxi -S
    System:
      Host: biker Kernel: 4.9.193-antix.1-amd64-smp x86_64 bits: 64 
      Desktop: IceWM 1.5.5+git20190610 
      Distro: antiX-19_x64-full Marielle Franco 16 October 2019 
    harry@biker:~
    

    Next. Edit 2 finger tap and done.
    https://forum.mxlinux.org/viewtopic.php?t=45427

    Looks like trash-cli is going to the way side for me. It was just a idea.

    Sometimes I drive a crooked road to get my mind straight.
    Not all who Wander are Lost.
    I'm not outa place. I'm from outer space.

    Linux Registered User # 475019
    How to Search for AntiX solutions to your problems

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.