Results 1 to 10 of 10

Thread: How to remove large file on external disk

  1. #1
    Join Date
    Jul 2008
    Location
    Warrington, England
    Posts
    110

    Default How to remove large file on external disk

    1. An external hard disk with VFAT32 file system has a continuous 23GB file (old HD disk image). It is too large to 'remove to wastebasket' and unlike MS Windows remove to wastebasket does not sense file size and wipe file index .

    How to remove a large file in SUSE 11.2?

    Any help.

    Thanks in advance.
    Regards
    Eionmac
    openSUSE LEAP 15.1 , Windows 10 ; Various old computers dual boot and Live Linux distros

  2. #2
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,648

    Default Re: How to remove large file on external disk

    delete from the command line the command is rm
    Last edited by swerdna; 28-Jan-2010 at 12:17. Reason: code edit

  3. #3
    Join Date
    Jul 2008
    Location
    Warrington, England
    Posts
    110

    Default Re: How to remove large file on external disk

    Thank you.

    It is safer for me as a Linux user (but not a confident command line operator) to take HD to a MS Windows machine and delete file. Which I will now do.

    Many thanks.
    Regards
    Eionmac
    openSUSE LEAP 15.1 , Windows 10 ; Various old computers dual boot and Live Linux distros

  4. #4
    Join Date
    Mar 2008
    Location
    San Diego (California)
    Posts
    475

    Default Re: How to remove large file on external disk

    not a confident command line operator
    if you are afraid of deleting things by mistake you can also use the option -i:
    rm -i
    -i stays for interactive, and you will be prompted a confirmation to delete a certain file. It will tell you something like "delete file [FILENAME]?" and you have to type y or n. In that way it is unlikely that you delete something without actually wanting that.
    ~ There are 10 types of people. Those who understand binary, and those who don't. ~

  5. #5
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,644
    Blog Entries
    14

    Default Re: How to remove large file on external disk

    Quote Originally Posted by G0NZ0 View Post
    if you are afraid of deleting things by mistake you can also use the option -i:
    rm -i
    -i stays for interactive, and you will be prompted a confirmation to delete a certain file. It will tell you something like "delete file [FILENAME]?" and you have to type y or n. In that way it is unlikely that you delete something without actually wanting that.
    He should be back. I had a 5 Gb file on FAT32 years ago, for months, until I discovered I could remove it from linux. I could not from XP, it reappeared after a reboot.....
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  6. #6
    Join Date
    Mar 2008
    Location
    San Diego (California)
    Posts
    475

    Default Re: How to remove large file on external disk

    Quote Originally Posted by Knurpht View Post
    He should be back [...] it reappeared after a reboot
    So... we'll see again upon next reboot
    ~ There are 10 types of people. Those who understand binary, and those who don't. ~

  7. #7
    Join Date
    Jul 2008
    Location
    Warrington, England
    Posts
    110

    Default Re: How to remove large file on external disk

    Many thanks

    rm -i, seems a workable choice.
    Regards
    Eionmac
    openSUSE LEAP 15.1 , Windows 10 ; Various old computers dual boot and Live Linux distros

  8. #8
    Join Date
    Mar 2008
    Location
    San Diego (California)
    Posts
    475

    Default Re: How to remove large file on external disk

    You can also add an alias in your .bashrc (in each user's home): add the following line:
    alias rm='rm -i'
    In this way whenever you type rm, the command will be actually rm -i, which means that you will always be asked confirmation before deleting any file, either when you type rm -i or when you just type rm. You can do the same with other commands, such as mv.
    I change my .bashrc in this way myself for a few commands for all my computers, works just fine.
    ~ There are 10 types of people. Those who understand binary, and those who don't. ~

  9. #9
    Join Date
    Jan 2009
    Location
    43.009 N, 73.172 W
    Posts
    189

    Default Re: How to remove large file on external disk

    I can understand your hesitation for using the command line. I was very unsure of myself when I was first learning, and working on production equipment. The CLI is your friend and I often use it over the GUI desktop. I find the Dolphin file manager to not be reliable when doing large file copies, and so I use the CLI.

    Being cautious is a good thing, but learn to trust yourself and the CLI will become second nature.

  10. #10
    Join Date
    Sep 2008
    Location
    Near Brussels, Belgium N50 50.394 E4 29.462
    Posts
    318

    Default Re: How to remove large file on external disk

    On 2010-01-27, eionmac <eionmac@no-mx.forums.opensuse.org> wrote:

    > 1. An external hard disk with VFAT32 file system has a continuous 23GB
    > file (old HD disk image). It is too large to 'remove to wastebasket' and
    > unlike MS Windows remove to wastebasket does not sense file size and
    > wipe file index .
    >
    > How to remove a large file in SUSE 11.2?


    How about plain old SHIFT-Del ?

    I still use 11.1 with KDE 3.x, mostly.
    Is that option no longer active ?

    --
    Any time things appear to be going better, you have overlooked
    something.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •