How to use bleachbit to clean other mounted drives and specific folders?











up vote
1
down vote

favorite












I use bleachbit to clean (deep scan) my home directory:



bleachbit -c --preset


But I want to use bleachbit to clean my other mounted drives like /media/device1 and specific folders /home/eka/dir/dir1. How can I do this in bleachbit?










share|improve this question




























    up vote
    1
    down vote

    favorite












    I use bleachbit to clean (deep scan) my home directory:



    bleachbit -c --preset


    But I want to use bleachbit to clean my other mounted drives like /media/device1 and specific folders /home/eka/dir/dir1. How can I do this in bleachbit?










    share|improve this question


























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      I use bleachbit to clean (deep scan) my home directory:



      bleachbit -c --preset


      But I want to use bleachbit to clean my other mounted drives like /media/device1 and specific folders /home/eka/dir/dir1. How can I do this in bleachbit?










      share|improve this question















      I use bleachbit to clean (deep scan) my home directory:



      bleachbit -c --preset


      But I want to use bleachbit to clean my other mounted drives like /media/device1 and specific folders /home/eka/dir/dir1. How can I do this in bleachbit?







      command-line cleanup bleachbit






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 17 at 17:01









      dessert

      21.2k55896




      21.2k55896










      asked Nov 17 at 16:35









      Eka

      97361737




      97361737






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          1
          down vote













          As of BleachBit 2.0, deep scan defaults to the home user directory. There is not a way in the GUI to change it, but I think this will work




          1. Copy the deepscan.xml that came with BleachBit to ~/.config/bleachbit/cleaners

          2. Change id="deepscan" to id="mydeepscan"

          3. Add the attribute path="/media/device1" to each <action> element


          Then a new DeepScan option will show up, and you can select it.



          You may also want to change the <label> elements too.






          share|improve this answer





















          • it didn't worked. I went and open deepscan.xml in ~/.config/bleachbit/cleaners then changed cleaner id="mydeepscan" then added the path attribute to every action element <action path="/media/device1" command="delete" search="deep" regex=".[Bb][Aa][Kk]$" cache="false"/>. Then I tried to deepclean. it still shows the home directory on preview
            – Eka
            Nov 19 at 9:31













          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "89"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














           

          draft saved


          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1093760%2fhow-to-use-bleachbit-to-clean-other-mounted-drives-and-specific-folders%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          1
          down vote













          As of BleachBit 2.0, deep scan defaults to the home user directory. There is not a way in the GUI to change it, but I think this will work




          1. Copy the deepscan.xml that came with BleachBit to ~/.config/bleachbit/cleaners

          2. Change id="deepscan" to id="mydeepscan"

          3. Add the attribute path="/media/device1" to each <action> element


          Then a new DeepScan option will show up, and you can select it.



          You may also want to change the <label> elements too.






          share|improve this answer





















          • it didn't worked. I went and open deepscan.xml in ~/.config/bleachbit/cleaners then changed cleaner id="mydeepscan" then added the path attribute to every action element <action path="/media/device1" command="delete" search="deep" regex=".[Bb][Aa][Kk]$" cache="false"/>. Then I tried to deepclean. it still shows the home directory on preview
            – Eka
            Nov 19 at 9:31

















          up vote
          1
          down vote













          As of BleachBit 2.0, deep scan defaults to the home user directory. There is not a way in the GUI to change it, but I think this will work




          1. Copy the deepscan.xml that came with BleachBit to ~/.config/bleachbit/cleaners

          2. Change id="deepscan" to id="mydeepscan"

          3. Add the attribute path="/media/device1" to each <action> element


          Then a new DeepScan option will show up, and you can select it.



          You may also want to change the <label> elements too.






          share|improve this answer





















          • it didn't worked. I went and open deepscan.xml in ~/.config/bleachbit/cleaners then changed cleaner id="mydeepscan" then added the path attribute to every action element <action path="/media/device1" command="delete" search="deep" regex=".[Bb][Aa][Kk]$" cache="false"/>. Then I tried to deepclean. it still shows the home directory on preview
            – Eka
            Nov 19 at 9:31















          up vote
          1
          down vote










          up vote
          1
          down vote









          As of BleachBit 2.0, deep scan defaults to the home user directory. There is not a way in the GUI to change it, but I think this will work




          1. Copy the deepscan.xml that came with BleachBit to ~/.config/bleachbit/cleaners

          2. Change id="deepscan" to id="mydeepscan"

          3. Add the attribute path="/media/device1" to each <action> element


          Then a new DeepScan option will show up, and you can select it.



          You may also want to change the <label> elements too.






          share|improve this answer












          As of BleachBit 2.0, deep scan defaults to the home user directory. There is not a way in the GUI to change it, but I think this will work




          1. Copy the deepscan.xml that came with BleachBit to ~/.config/bleachbit/cleaners

          2. Change id="deepscan" to id="mydeepscan"

          3. Add the attribute path="/media/device1" to each <action> element


          Then a new DeepScan option will show up, and you can select it.



          You may also want to change the <label> elements too.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 18 at 15:35









          Andrew

          95947




          95947












          • it didn't worked. I went and open deepscan.xml in ~/.config/bleachbit/cleaners then changed cleaner id="mydeepscan" then added the path attribute to every action element <action path="/media/device1" command="delete" search="deep" regex=".[Bb][Aa][Kk]$" cache="false"/>. Then I tried to deepclean. it still shows the home directory on preview
            – Eka
            Nov 19 at 9:31




















          • it didn't worked. I went and open deepscan.xml in ~/.config/bleachbit/cleaners then changed cleaner id="mydeepscan" then added the path attribute to every action element <action path="/media/device1" command="delete" search="deep" regex=".[Bb][Aa][Kk]$" cache="false"/>. Then I tried to deepclean. it still shows the home directory on preview
            – Eka
            Nov 19 at 9:31


















          it didn't worked. I went and open deepscan.xml in ~/.config/bleachbit/cleaners then changed cleaner id="mydeepscan" then added the path attribute to every action element <action path="/media/device1" command="delete" search="deep" regex=".[Bb][Aa][Kk]$" cache="false"/>. Then I tried to deepclean. it still shows the home directory on preview
          – Eka
          Nov 19 at 9:31






          it didn't worked. I went and open deepscan.xml in ~/.config/bleachbit/cleaners then changed cleaner id="mydeepscan" then added the path attribute to every action element <action path="/media/device1" command="delete" search="deep" regex=".[Bb][Aa][Kk]$" cache="false"/>. Then I tried to deepclean. it still shows the home directory on preview
          – Eka
          Nov 19 at 9:31




















           

          draft saved


          draft discarded



















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1093760%2fhow-to-use-bleachbit-to-clean-other-mounted-drives-and-specific-folders%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

          ComboBox Display Member on multiple fields

          Is it possible to collect Nectar points via Trainline?