• Tags
  • Documentation
  • Order
  • Register
  • Login
Duet3D Logo Duet3D
  • Tags
  • Documentation
  • Order
  • Register
  • Login

Delete 'non empty' Folders

Scheduled Pinned Locked Moved
Duet Web Control
5
13
550
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • undefined
    Danal
    last edited by 4 Jan 2020, 11:51

    @Garfield said in Delete 'non empty' Folders:

    Is there any way from the web interface to delete entire folders regardless of their contents. I just had a macros file decompress in the wrong place now I have dozens of folders with files in all in the wrong place - deleting files then subfolders then folders is a pain in the butt .....

    Not via Web. As mentioned, direct manipulation of the SD card is probably the most pragmatic answer.

    Unless... does this happen to be a Duet 3 with Pi? If so, the SD that the Duet 6HC 'sees' is actually /opt/dsf/sd and you can SSH into the Pi and do anything you wish.

    Delta / Kossel printer fanatic

    1 Reply Last reply Reply Quote 0
    • undefined
      Garfield
      last edited by 4 Jan 2020, 11:58

      This is indeed a Duet 3 with RPi.

      I'll try the SSH route - the PC claims the SD needs formatting which I know isn't true so I'm guessing it's a Linux based partition.

      ? 1 Reply Last reply 4 Jan 2020, 12:02 Reply Quote 0
      • ?
        A Former User @Garfield
        last edited by 4 Jan 2020, 12:02

        @Garfield said in Delete 'non empty' Folders:

        I'll try the SSH route - the PC claims the SD needs formatting which I know isn't true so I'm guessing it's a Linux based partition.

        ah, yeah, the SD card for the PI has only got a small /boot partition for linux and what you see as the SD card in Duet Web Control is just the folder Danal refered to, which lives on a ext4(?) filesystem on a partition that windows can't deal with without adittional software.

        1 Reply Last reply Reply Quote 0
        • undefined
          Garfield
          last edited by 4 Jan 2020, 12:08

          No worries. I've had issues historically messing with partitions across systems so I tend to steer clear,

          ? 1 Reply Last reply 4 Jan 2020, 12:17 Reply Quote 0
          • ?
            A Former User @Garfield
            last edited by 4 Jan 2020, 12:17

            @Garfield said in Delete 'non empty' Folders:

            I've had issues historically messing with partitions

            I have the same t-shirt ... >.<

            1 Reply Last reply Reply Quote 0
            • undefined
              Garfield
              last edited by 4 Jan 2020, 12:33

              Sorted - SSH route works a treat much appreciated.

              1 Reply Last reply Reply Quote 1
              • ?
                A Former User
                last edited by 4 Jan 2020, 12:50

                Just for completeness, SSH also opens the option to do SCP/SFTP through something like WinSCP for those less inclined to the command line.

                1 Reply Last reply Reply Quote 1
                • undefined
                  dc42 administrators @Garfield
                  last edited by dc42 1 Apr 2020, 22:41 4 Jan 2020, 22:40

                  @Garfield said in Delete 'non empty' Folders:

                  Is there any way from the web interface to delete entire folders regardless of their contents. I just had a macros file decompress in the wrong place now I have dozens of folders with files in all in the wrong place - deleting files then subfolders then folders is a pain in the butt .....

                  You can delete all files in a folder with 3 mouse clicks, so it is easy enough to delete the files in the folder first.

                  Duet WiFi hardware designer and firmware engineer
                  Please do not ask me for Duet support via PM or email, use the forum
                  http://www.escher3d.com, https://miscsolutions.wordpress.com

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    Garfield
                    last edited by 4 Jan 2020, 22:44

                    Perhaps but when there are 20 folders each with files below another folder it becomes pretty tedious.

                    I downloaded the tuning macros from here Tuning Macros

                    and copied them to the wrong place - problem is they automatically extracted ...

                    undefined 1 Reply Last reply 4 Jan 2020, 22:56 Reply Quote 0
                    • undefined
                      Phaedrux Moderator @Garfield
                      last edited by Phaedrux 1 Apr 2020, 22:57 4 Jan 2020, 22:56

                      @Garfield said in Delete 'non empty' Folders:

                      Perhaps but when there are 20 folders each with files below another folder it becomes pretty tedious.

                      I downloaded the tuning macros from here Tuning Macros

                      and copied them to the wrong place - problem is they automatically extracted ...

                      those are my macros, and yes, if you accidentally put them in the wrong place, it's painful to have to remove them on the DWC since there are so many folders with so many files.

                      My condolences.

                      Z-Bot CoreXY Build | Thingiverse Profile

                      1 Reply Last reply Reply Quote 0
                      • undefined
                        Garfield
                        last edited by 4 Jan 2020, 23:02

                        No issues at all here really. Any opportunity to learn and gain experience isn't wasted time for me.

                        I shall be putting your macros to the test over the coming weeks whilst commissioning a new linear rail based CoreXY and figuring out its limits (and mine).

                        1 Reply Last reply Reply Quote 0
                        12 out of 13
                        • First post
                          12/13
                          Last post
                        Unless otherwise noted, all forum content is licensed under CC-BY-SA