Trash Bin shows files that aren't there The 2019 Stack Overflow Developer Survey Results Are In Unicorn Meta Zoo #1: Why another podcast? Announcing the arrival of Valued Associate #679: Cesar ManaraTrash Bin in Unity launcher shows full even when emptyDelete Files To TrashUnable to empty the rubbish binDeleting files by way of the terminal where files have a certain keywordTrash bin empty automaticIs it possible to have multiple trash cans for seperate partitions in the unity launcher?Can't find my trashcan?Trash is empty, but the trash bin icon looks like there is something in itHow can I delete a stubborn directory from my external HD trash?Nautilus crashed - Black desktop and can't access any folder
Can we generate random numbers using irrational numbers like π and e?
Did the new image of black hole confirm the general theory of relativity?
What can I do if neighbor is blocking my solar panels intentionally?
Huge performance difference of the command find with and without using %M option to show permissions
Why did Peik Lin say, "I'm not an animal"?
Is it ok to offer lower paid work as a trial period before negotiating for a full-time job?
Do I have Disadvantage attacking with an off-hand weapon?
Accepted by European university, rejected by all American ones I applied to? Possible reasons?
Can a flute soloist sit?
Can the Right Ascension and Argument of Perigee of a spacecraft's orbit keep varying by themselves with time?
Make it rain characters
Is there a way to generate uniformly distributed points on a sphere from a fixed amount of random real numbers per point?
What was the last x86 CPU that did not have the x87 floating-point unit built in?
How to support a colleague who finds meetings extremely tiring?
Fixing different display colors within string
ELI5: Why do they say that Israel would have been the fourth country to land a spacecraft on the Moon and why do they call it low cost?
Keeping a retro style to sci-fi spaceships?
Working through the single responsibility principle (SRP) in Python when calls are expensive
How to read αἱμύλιος or when to aspirate
Single author papers against my advisor's will?
Match Roman Numerals
Would an alien lifeform be able to achieve space travel if lacking in vision?
"is" operation returns false even though two objects have same id
What can I do to 'burn' a journal?
Trash Bin shows files that aren't there
The 2019 Stack Overflow Developer Survey Results Are In
Unicorn Meta Zoo #1: Why another podcast?
Announcing the arrival of Valued Associate #679: Cesar ManaraTrash Bin in Unity launcher shows full even when emptyDelete Files To TrashUnable to empty the rubbish binDeleting files by way of the terminal where files have a certain keywordTrash bin empty automaticIs it possible to have multiple trash cans for seperate partitions in the unity launcher?Can't find my trashcan?Trash is empty, but the trash bin icon looks like there is something in itHow can I delete a stubborn directory from my external HD trash?Nautilus crashed - Black desktop and can't access any folder
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
Friends: I'm using Ubuntu 18.04 LTS. My trash bin has numerous files, folders, .jpgs, .mpgs, etc., many of which I don't recognize as ever having used. I tried the normal "Empty Trash" method, that does nothing. I then tried every other terminal command I could find on the forum and elsewhere, including "rm"; I installed trash-cli and tried "empty-trash". After giving the "rm" command to delete the trash folder, it's still there. I tried restoring the individual files (to alter and delete them) but get an error message that there's no such file or directory. Trying to delete them individually results in "You do not have sufficient permissions to delete the file [filename]." I can query properties, and the result shows content in the files (although some folders show no content.) I am running a dual boot with Windows 10, and disabled "FastBoot" in Widows. Nothing works, although from the error messages and the lack of action, it seems like the files have been deleted. The behavior seems like what a Windows virus might be doing. The system seems to be running fine otherwise, although on restarts I sometimes get a green-colored screen with a multi-colored set of vertical lines in the left 10th of the screen. (I'm giving everything I can think of.)
I'm not very good at terminal commands, and don't really grok Ubuntu, although I can copy and paste what seems to be appropriate.
Here's a screenshot of the results of trash-empty:
ira@Ira-Ubuntu:~$ trash-empty
Traceback (most recent call last):
File "/usr/bin/trash-empty", line 5, in
sys.exit(main())
File "/usr/lib/python2.7/dist-packages/trashcli/cmds.py", line 31, in empty
).run(*sys.argv)
File "/usr/lib/python2.7/dist-packages/trashcli/trash.py", line 937, in run
parse(argv)
File "/usr/lib/python2.7/dist-packages/trashcli/trash.py", line 806, in call
self.default_action()
File "/usr/lib/python2.7/dist-packages/trashcli/trash.py", line 963, in _empty_all_trashdirs
self.trashdirs.list_trashdirs()
File "/usr/lib/python2.7/dist-packages/trashcli/trash.py", line 880, in list_trashdirs
self._for_each_volume_trashcan()
File "/usr/lib/python2.7/dist-packages/trashcli/trash.py", line 887, in _for_each_volume_trashcan
self.emit_trashcans_for(volume)
File "/usr/lib/python2.7/dist-packages/trashcli/trash.py", line 890, in emit_trashcans_for
self.emit_trashcan_2_for(volume)
File "/usr/lib/python2.7/dist-packages/trashcli/trash.py", line 903, in emit_trashcan_2_for
self.on_trash_dir_found(alt_top_trashdir, volume)
File "/usr/lib/python2.7/dist-packages/trashcli/trash.py", line 978, in _analize_trash_directory
self.trashdir.each_trashinfo(self.on_trashinfo_found)
File "/usr/lib/python2.7/dist-packages/trashcli/trash.py", line 1087, in each_trashinfo
action(os.path.join(self._info_dir(), entry))
File "/usr/lib/python2.7/dist-packages/trashcli/trash.py", line 856, in delete_if_expired
self._maybe_delete(trashinfo_path)
File "/usr/lib/python2.7/dist-packages/trashcli/trash.py", line 866, in _delete_unconditionally
self._trashcan.delete_trashinfo_and_backup_copy(trashinfo_path)
File "/usr/lib/python2.7/dist-packages/trashcli/trash.py", line 839, in delete_trashinfo_and_backup_copy
self._file_remover.remove_file_if_exists(backup_copy)
File "/usr/lib/python2.7/dist-packages/trashcli/fs.py", line 27, in remove_file_if_exists
if os.path.exists(path): self.remove_file(path)
File "/usr/lib/python2.7/dist-packages/trashcli/fs.py", line 25, in remove_file
shutil.rmtree(path)
File "/usr/lib/python2.7/shutil.py", line 253, in rmtree
onerror(os.listdir, path, sys.exc_info())
File "/usr/lib/python2.7/shutil.py", line 251, in rmtree
names = os.listdir(path)
OSError: [Errno 20] Not a directory: '/media/ira/6464-3839/.Trash-1000/files/0007.jpg'
I don't understand what it's telling me. Thanks for any help.
Ira
trash
New contributor
iraj is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
Friends: I'm using Ubuntu 18.04 LTS. My trash bin has numerous files, folders, .jpgs, .mpgs, etc., many of which I don't recognize as ever having used. I tried the normal "Empty Trash" method, that does nothing. I then tried every other terminal command I could find on the forum and elsewhere, including "rm"; I installed trash-cli and tried "empty-trash". After giving the "rm" command to delete the trash folder, it's still there. I tried restoring the individual files (to alter and delete them) but get an error message that there's no such file or directory. Trying to delete them individually results in "You do not have sufficient permissions to delete the file [filename]." I can query properties, and the result shows content in the files (although some folders show no content.) I am running a dual boot with Windows 10, and disabled "FastBoot" in Widows. Nothing works, although from the error messages and the lack of action, it seems like the files have been deleted. The behavior seems like what a Windows virus might be doing. The system seems to be running fine otherwise, although on restarts I sometimes get a green-colored screen with a multi-colored set of vertical lines in the left 10th of the screen. (I'm giving everything I can think of.)
I'm not very good at terminal commands, and don't really grok Ubuntu, although I can copy and paste what seems to be appropriate.
Here's a screenshot of the results of trash-empty:
ira@Ira-Ubuntu:~$ trash-empty
Traceback (most recent call last):
File "/usr/bin/trash-empty", line 5, in
sys.exit(main())
File "/usr/lib/python2.7/dist-packages/trashcli/cmds.py", line 31, in empty
).run(*sys.argv)
File "/usr/lib/python2.7/dist-packages/trashcli/trash.py", line 937, in run
parse(argv)
File "/usr/lib/python2.7/dist-packages/trashcli/trash.py", line 806, in call
self.default_action()
File "/usr/lib/python2.7/dist-packages/trashcli/trash.py", line 963, in _empty_all_trashdirs
self.trashdirs.list_trashdirs()
File "/usr/lib/python2.7/dist-packages/trashcli/trash.py", line 880, in list_trashdirs
self._for_each_volume_trashcan()
File "/usr/lib/python2.7/dist-packages/trashcli/trash.py", line 887, in _for_each_volume_trashcan
self.emit_trashcans_for(volume)
File "/usr/lib/python2.7/dist-packages/trashcli/trash.py", line 890, in emit_trashcans_for
self.emit_trashcan_2_for(volume)
File "/usr/lib/python2.7/dist-packages/trashcli/trash.py", line 903, in emit_trashcan_2_for
self.on_trash_dir_found(alt_top_trashdir, volume)
File "/usr/lib/python2.7/dist-packages/trashcli/trash.py", line 978, in _analize_trash_directory
self.trashdir.each_trashinfo(self.on_trashinfo_found)
File "/usr/lib/python2.7/dist-packages/trashcli/trash.py", line 1087, in each_trashinfo
action(os.path.join(self._info_dir(), entry))
File "/usr/lib/python2.7/dist-packages/trashcli/trash.py", line 856, in delete_if_expired
self._maybe_delete(trashinfo_path)
File "/usr/lib/python2.7/dist-packages/trashcli/trash.py", line 866, in _delete_unconditionally
self._trashcan.delete_trashinfo_and_backup_copy(trashinfo_path)
File "/usr/lib/python2.7/dist-packages/trashcli/trash.py", line 839, in delete_trashinfo_and_backup_copy
self._file_remover.remove_file_if_exists(backup_copy)
File "/usr/lib/python2.7/dist-packages/trashcli/fs.py", line 27, in remove_file_if_exists
if os.path.exists(path): self.remove_file(path)
File "/usr/lib/python2.7/dist-packages/trashcli/fs.py", line 25, in remove_file
shutil.rmtree(path)
File "/usr/lib/python2.7/shutil.py", line 253, in rmtree
onerror(os.listdir, path, sys.exc_info())
File "/usr/lib/python2.7/shutil.py", line 251, in rmtree
names = os.listdir(path)
OSError: [Errno 20] Not a directory: '/media/ira/6464-3839/.Trash-1000/files/0007.jpg'
I don't understand what it's telling me. Thanks for any help.
Ira
trash
New contributor
iraj is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
Friends: I'm using Ubuntu 18.04 LTS. My trash bin has numerous files, folders, .jpgs, .mpgs, etc., many of which I don't recognize as ever having used. I tried the normal "Empty Trash" method, that does nothing. I then tried every other terminal command I could find on the forum and elsewhere, including "rm"; I installed trash-cli and tried "empty-trash". After giving the "rm" command to delete the trash folder, it's still there. I tried restoring the individual files (to alter and delete them) but get an error message that there's no such file or directory. Trying to delete them individually results in "You do not have sufficient permissions to delete the file [filename]." I can query properties, and the result shows content in the files (although some folders show no content.) I am running a dual boot with Windows 10, and disabled "FastBoot" in Widows. Nothing works, although from the error messages and the lack of action, it seems like the files have been deleted. The behavior seems like what a Windows virus might be doing. The system seems to be running fine otherwise, although on restarts I sometimes get a green-colored screen with a multi-colored set of vertical lines in the left 10th of the screen. (I'm giving everything I can think of.)
I'm not very good at terminal commands, and don't really grok Ubuntu, although I can copy and paste what seems to be appropriate.
Here's a screenshot of the results of trash-empty:
ira@Ira-Ubuntu:~$ trash-empty
Traceback (most recent call last):
File "/usr/bin/trash-empty", line 5, in
sys.exit(main())
File "/usr/lib/python2.7/dist-packages/trashcli/cmds.py", line 31, in empty
).run(*sys.argv)
File "/usr/lib/python2.7/dist-packages/trashcli/trash.py", line 937, in run
parse(argv)
File "/usr/lib/python2.7/dist-packages/trashcli/trash.py", line 806, in call
self.default_action()
File "/usr/lib/python2.7/dist-packages/trashcli/trash.py", line 963, in _empty_all_trashdirs
self.trashdirs.list_trashdirs()
File "/usr/lib/python2.7/dist-packages/trashcli/trash.py", line 880, in list_trashdirs
self._for_each_volume_trashcan()
File "/usr/lib/python2.7/dist-packages/trashcli/trash.py", line 887, in _for_each_volume_trashcan
self.emit_trashcans_for(volume)
File "/usr/lib/python2.7/dist-packages/trashcli/trash.py", line 890, in emit_trashcans_for
self.emit_trashcan_2_for(volume)
File "/usr/lib/python2.7/dist-packages/trashcli/trash.py", line 903, in emit_trashcan_2_for
self.on_trash_dir_found(alt_top_trashdir, volume)
File "/usr/lib/python2.7/dist-packages/trashcli/trash.py", line 978, in _analize_trash_directory
self.trashdir.each_trashinfo(self.on_trashinfo_found)
File "/usr/lib/python2.7/dist-packages/trashcli/trash.py", line 1087, in each_trashinfo
action(os.path.join(self._info_dir(), entry))
File "/usr/lib/python2.7/dist-packages/trashcli/trash.py", line 856, in delete_if_expired
self._maybe_delete(trashinfo_path)
File "/usr/lib/python2.7/dist-packages/trashcli/trash.py", line 866, in _delete_unconditionally
self._trashcan.delete_trashinfo_and_backup_copy(trashinfo_path)
File "/usr/lib/python2.7/dist-packages/trashcli/trash.py", line 839, in delete_trashinfo_and_backup_copy
self._file_remover.remove_file_if_exists(backup_copy)
File "/usr/lib/python2.7/dist-packages/trashcli/fs.py", line 27, in remove_file_if_exists
if os.path.exists(path): self.remove_file(path)
File "/usr/lib/python2.7/dist-packages/trashcli/fs.py", line 25, in remove_file
shutil.rmtree(path)
File "/usr/lib/python2.7/shutil.py", line 253, in rmtree
onerror(os.listdir, path, sys.exc_info())
File "/usr/lib/python2.7/shutil.py", line 251, in rmtree
names = os.listdir(path)
OSError: [Errno 20] Not a directory: '/media/ira/6464-3839/.Trash-1000/files/0007.jpg'
I don't understand what it's telling me. Thanks for any help.
Ira
trash
New contributor
iraj is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Friends: I'm using Ubuntu 18.04 LTS. My trash bin has numerous files, folders, .jpgs, .mpgs, etc., many of which I don't recognize as ever having used. I tried the normal "Empty Trash" method, that does nothing. I then tried every other terminal command I could find on the forum and elsewhere, including "rm"; I installed trash-cli and tried "empty-trash". After giving the "rm" command to delete the trash folder, it's still there. I tried restoring the individual files (to alter and delete them) but get an error message that there's no such file or directory. Trying to delete them individually results in "You do not have sufficient permissions to delete the file [filename]." I can query properties, and the result shows content in the files (although some folders show no content.) I am running a dual boot with Windows 10, and disabled "FastBoot" in Widows. Nothing works, although from the error messages and the lack of action, it seems like the files have been deleted. The behavior seems like what a Windows virus might be doing. The system seems to be running fine otherwise, although on restarts I sometimes get a green-colored screen with a multi-colored set of vertical lines in the left 10th of the screen. (I'm giving everything I can think of.)
I'm not very good at terminal commands, and don't really grok Ubuntu, although I can copy and paste what seems to be appropriate.
Here's a screenshot of the results of trash-empty:
ira@Ira-Ubuntu:~$ trash-empty
Traceback (most recent call last):
File "/usr/bin/trash-empty", line 5, in
sys.exit(main())
File "/usr/lib/python2.7/dist-packages/trashcli/cmds.py", line 31, in empty
).run(*sys.argv)
File "/usr/lib/python2.7/dist-packages/trashcli/trash.py", line 937, in run
parse(argv)
File "/usr/lib/python2.7/dist-packages/trashcli/trash.py", line 806, in call
self.default_action()
File "/usr/lib/python2.7/dist-packages/trashcli/trash.py", line 963, in _empty_all_trashdirs
self.trashdirs.list_trashdirs()
File "/usr/lib/python2.7/dist-packages/trashcli/trash.py", line 880, in list_trashdirs
self._for_each_volume_trashcan()
File "/usr/lib/python2.7/dist-packages/trashcli/trash.py", line 887, in _for_each_volume_trashcan
self.emit_trashcans_for(volume)
File "/usr/lib/python2.7/dist-packages/trashcli/trash.py", line 890, in emit_trashcans_for
self.emit_trashcan_2_for(volume)
File "/usr/lib/python2.7/dist-packages/trashcli/trash.py", line 903, in emit_trashcan_2_for
self.on_trash_dir_found(alt_top_trashdir, volume)
File "/usr/lib/python2.7/dist-packages/trashcli/trash.py", line 978, in _analize_trash_directory
self.trashdir.each_trashinfo(self.on_trashinfo_found)
File "/usr/lib/python2.7/dist-packages/trashcli/trash.py", line 1087, in each_trashinfo
action(os.path.join(self._info_dir(), entry))
File "/usr/lib/python2.7/dist-packages/trashcli/trash.py", line 856, in delete_if_expired
self._maybe_delete(trashinfo_path)
File "/usr/lib/python2.7/dist-packages/trashcli/trash.py", line 866, in _delete_unconditionally
self._trashcan.delete_trashinfo_and_backup_copy(trashinfo_path)
File "/usr/lib/python2.7/dist-packages/trashcli/trash.py", line 839, in delete_trashinfo_and_backup_copy
self._file_remover.remove_file_if_exists(backup_copy)
File "/usr/lib/python2.7/dist-packages/trashcli/fs.py", line 27, in remove_file_if_exists
if os.path.exists(path): self.remove_file(path)
File "/usr/lib/python2.7/dist-packages/trashcli/fs.py", line 25, in remove_file
shutil.rmtree(path)
File "/usr/lib/python2.7/shutil.py", line 253, in rmtree
onerror(os.listdir, path, sys.exc_info())
File "/usr/lib/python2.7/shutil.py", line 251, in rmtree
names = os.listdir(path)
OSError: [Errno 20] Not a directory: '/media/ira/6464-3839/.Trash-1000/files/0007.jpg'
I don't understand what it's telling me. Thanks for any help.
Ira
trash
trash
New contributor
iraj is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
iraj is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
iraj is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 8 mins ago
irajiraj
11
11
New contributor
iraj is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
iraj is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
iraj is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
iraj is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1133415%2ftrash-bin-shows-files-that-arent-there%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
iraj is a new contributor. Be nice, and check out our Code of Conduct.
iraj is a new contributor. Be nice, and check out our Code of Conduct.
iraj is a new contributor. Be nice, and check out our Code of Conduct.
iraj is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1133415%2ftrash-bin-shows-files-that-arent-there%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown