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.
    • Garfieldundefined
      Garfield
      last edited by

      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 .....

      dc42undefined 1 Reply Last reply Reply Quote 0
      • A Former User?
        A Former User
        last edited by A Former User

        not too familiar with Duet Web Control, but I would (either):

        • pull the SD card and modify on computer
        • enable FTP support and deal with it in a supported FTP client.
        1 Reply Last reply Reply Quote 0
        • Danalundefined
          Danal
          last edited by

          @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
          • Garfieldundefined
            Garfield
            last edited by

            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.

            A Former User? 1 Reply Last reply Reply Quote 0
            • A Former User?
              A Former User @Garfield
              last edited by

              @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
              • Garfieldundefined
                Garfield
                last edited by

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

                A Former User? 1 Reply Last reply Reply Quote 0
                • A Former User?
                  A Former User @Garfield
                  last edited by

                  @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
                  • Garfieldundefined
                    Garfield
                    last edited by

                    Sorted - SSH route works a treat much appreciated.

                    1 Reply Last reply Reply Quote 1
                    • A Former User?
                      A Former User
                      last edited by

                      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
                      • dc42undefined
                        dc42 administrators @Garfield
                        last edited by dc42

                        @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
                        • Garfieldundefined
                          Garfield
                          last edited by

                          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 ...

                          Phaedruxundefined 1 Reply Last reply Reply Quote 0
                          • Phaedruxundefined
                            Phaedrux Moderator @Garfield
                            last edited by Phaedrux

                            @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
                            • Garfieldundefined
                              Garfield
                              last edited by

                              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
                              • First post
                                Last post
                              Unless otherwise noted, all forum content is licensed under CC-BY-SA