Results 1 to 4 of 4

Thread: Doubt: Same folder name in TRASH

  1. #1
    Join Date
    Dec 2010
    Beans
    130

    Doubt: Same folder name in TRASH

    Hi friends,
    I am having a doubt.
    Inside filesystem, we cannot save two folder's with same name. for example, inside home folder we cannot save two folder's with same name mohan, but i found many folder's with same name inside the trash.
    Pls explain the concept of TRASH.

    Also pls mention the location of trash.

  2. #2
    Join Date
    Jun 2009
    Location
    U.S.A. Illinios
    Beans
    336
    Distro
    Ubuntu

    Re: Doubt: Same folder name in TRASH

    say you have made 3 "untitled" folders in the past, and throw them in the the trash, yes you can have all 3 same name in the trash, Trash is not an active system folder ! it is static, I believe trash is in home/.local, I use the delete option most of the time, trash, is in case you want to retrieve something you might not really want to throw away ! delete option is irretrievable !
    johnnyg713
    Ultimate Edition,We are World Wide and Growing !
    http://ultimateedition.info/
    http://www.ultimateeditionoz.com/for...hp?f=36&t=2387

  3. #3
    Join Date
    Dec 2010
    Beans
    130

    Re: Doubt: Same folder name in TRASH

    Hi friends,

    Kindly provide a script to delete files in trash, which could run in cronjob.

  4. #4
    Join Date
    Jun 2010
    Location
    London, England
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Doubt: Same folder name in TRASH

    The files are not moved at all. They are still at their location on the hard disk. The reference to that location is removed and stored at a location called Rubbish Bin. Future write operations to the hard disk are not allowed to overwrite those locations. This is how it is possible to restore files moved to the rubbish bin. It also explains why moving files to the rubbish bin does not free up space on the hard disk. We need to empty the rubbish to free up that space.

    When we empty the rubbish bin the references to the locations are wiped away. This allows future write operations to the hard disk to overwrite the locations and so destroy the data at the locations.

    Something different happens when we move a file on another partition to the rubbish bin. We get a warning that the file is going to be deleted. The location of the data is not going to be moved into the rubbish bin of the file system that we are using. Future write operations to that partition will be allowed to overwrite the space occupied by that data.

    Regards.
    Last edited by grahammechanical; May 2nd, 2013 at 01:22 PM.
    It is a machine. It is more stupid than we are. It will not stop us from doing stupid things.
    Ubuntu user #33,200. Linux user #530,530


Bookmarks

Posting Permissions

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