ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Any tools to delete long named files?

    IT Discussion
    smb windows netapp wafl
    6
    15
    3.0k
    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.
    • AmbarishrhA
      Ambarishrh
      last edited by scottalanmiller

      I am cleanup an old archive drive on our server and we have some really long named files which can't be deleted. Tried different options used eraser but no luck. Any solutions?

      thanksajdotcomT 1 Reply Last reply Reply Quote 1
      • thanksajdotcomT
        thanksajdotcom @Ambarishrh
        last edited by

        @Ambarishrh said:

        I am cleanup an old archive drive on our server and we have some really long named files which can't be deleted. Tried different options used eraser but no luck. Any solutions?

        I've had issues with being unable to delete files I have permissions to delete in Windows before. I will mount the location on Linux server with those same permissions and it works no problem.

        1 Reply Last reply Reply Quote 0
        • AmbarishrhA
          Ambarishrh
          last edited by

          Can't do that, its on a folder on Netapp, mounted to server, and I have full permission on that folder, its just that windows can't delete due to the long file name, just wondering then why/how does it allow the save such file! 🙂

          1 Reply Last reply Reply Quote 0
          • AmbarishrhA
            Ambarishrh
            last edited by

            Apparently a rename from MAC works! I can't imagine doing the move and rename each files when i have the long names, have to go through 2.5TB!

            1 Reply Last reply Reply Quote 0
            • scottalanmillerS
              scottalanmiller
              last edited by

              Oh that's a BIG deal. That means that this is not Windows nor NTFS but NetApp and WAFL. That changes things a bit.

              1 Reply Last reply Reply Quote 0
              • scottalanmillerS
                scottalanmiller
                last edited by

                I assume that you are mounted over SMB and not using the NetApp as a SAN?

                1 Reply Last reply Reply Quote 0
                • AmbarishrhA
                  Ambarishrh
                  last edited by

                  Over SMB, yes. Its painful to move on windows and when things go wrong, manage using MAC to rename and then copy. Reason I am using windows is, I have teracopy which handles file copy much better than default file copy tool in windows.

                  thanksajdotcomT 2 Replies Last reply Reply Quote 1
                  • thanksajdotcomT
                    thanksajdotcom @Ambarishrh
                    last edited by

                    @Ambarishrh said:

                    Over SMB, yes. Its painful to move on windows and when things go wrong, manage using MAC to rename and then copy. Reason I am using windows is, I have teracopy which handles file copy much better than default file copy tool in windows.

                    Amen to that.

                    1 Reply Last reply Reply Quote 1
                    • thanksajdotcomT
                      thanksajdotcom @Ambarishrh
                      last edited by

                      @Ambarishrh said:

                      Over SMB, yes. Its painful to move on windows and when things go wrong, manage using MAC to rename and then copy. Reason I am using windows is, I have teracopy which handles file copy much better than default file copy tool in windows.

                      The TeraCopy Pro is actually a good value. You can use it for an individual user on as many workstations as you want. For $20 for life. Also, it allows you to remove files from the queue, which was the most important Pro feature to me.

                      thanksajdotcomT 1 Reply Last reply Reply Quote 0
                      • thanksajdotcomT
                        thanksajdotcom @thanksajdotcom
                        last edited by

                        ...without cancelling the entire job that is.

                        1 Reply Last reply Reply Quote 0
                        • AmbarishrhA
                          Ambarishrh
                          last edited by

                          Would be great if this is available for MAC, atleast I don't need to switch back and forth. Luckily files are copying now, praying not to have such issues on the transfer!

                          JaredBuschJ 1 Reply Last reply Reply Quote 1
                          • JaredBuschJ
                            JaredBusch @Ambarishrh
                            last edited by

                            @Ambarishrh Robocopy is your friend.

                            cd \
                            mkdir emptyfolder
                            robocopy c:\emptyfolder c:\long\file\name\path\you\want\to\delete /mir
                            

                            now everything in the the delete folder will be gone.

                            1 Reply Last reply Reply Quote 1
                            • AmbarishrhA
                              Ambarishrh
                              last edited by Ambarishrh

                              Yes, totally forgot about Robocopy! But I got something in the meantime and works like a charm 🙂

                              Roadkil's Unstoppable Copier

                              1 Reply Last reply Reply Quote 1
                              • Reid CooperR
                                Reid Cooper
                                last edited by

                                Robocopy should pretty much always be the first place to look for this kind of stuff. So useful.

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

                                  You might try some of these on the Mac http://alternativeto.net/software/robocopy/?platform=mac

                                  1 Reply Last reply Reply Quote 0
                                  • 1 / 1
                                  • First post
                                    Last post