0
votes
1answer
348 views

Difference between move to trash and rm on the terminal? [duplicate]

I am using watchdog, a python package to monitor changes in the file system. The code works fine on Mac but it seems that the delete event is not monitored correctly in ubuntu. If I do a rm instead of ...
1
vote
2answers
223 views

Not able to delete folder from gui or terminal

"NvXhVL3Rue" this unknown folder got created automatically. I am not able to change permission Not able to delete from terminal it stucks need to hit ctrl+z when i open folder its blank stuck at ...
0
votes
1answer
169 views

Mysterious Directories Appearing in Home Folder & System Slowing

I've been using Ubuntu for nearly 2 years (since 12.04), and updated from 12.04 to 12.10, to 13.10, always as a dual-boot option using the Wubi installer. Never had any serious issues or problems. ...
1
vote
2answers
276 views

How delete files - based on date in filename

I have some folder with files with the names as "example_YY_MM_DD-HH.zip" and I have 3 backups per day. I need this: 1) For backups older than 1 week I need only one per day (at midnight '00' at HH) ...
1
vote
2answers
676 views

How can I delete everything off of my SSD hard drive, or namely the grub loader?

I'm currently using a live CD and I am attempting to delete everything off of my harddrive. So, I've used the command sudo nautilus and attempted to delete everything off of my SSD. However, I cannot ...
1
vote
1answer
132 views

bzcat to delete compressed file

By default, bzcat (or, equivalently, bzip2 -dc or bunzip2 -c) will keep the source (compressed file) and not delete it. Is there a flag or other means (besides thereafter manually rming the file) to ...
2
votes
3answers
4k views

Why I can't delete a folder?

Could not remove the folder [Folder name]. Show more details Error removing file: Directory not empty Cancel-Skip All-Skip I tried to delete these folders from terminal with: rm -r
5
votes
1answer
1k views

Cannot delete file from /home by rm command

I cannot delete a file in my /home folder. Terminal output give me the message: ~$ rm /home/goldap/Загрузки/Put Don Kihota (1934) bash: ошибка синтаксиса около неожиданной лексемы '(' Roughly ...
11
votes
5answers
78k views

How do I remove a folder?

I'm a new user and Im trying to remove a specific folder. I am using sudo rm /path/ but its not working. What is the correct command to use? It is a file catolog I am attempting to remove but im ...
3
votes
2answers
1k views

How to delete all source codes and packages I have downloaded

I've got a question regarding how to delete all source codes that I've downloaded. I think it just consumes a lot of space without any benefit yet! Thanks in advance :)
2
votes
1answer
433 views

delete files with particular character length and a extension in a directory using some command in terminal window

I would like to know what command must be executed in the terminal window which will enable us to delete files with a particular extension(say .c) in a particular directory whose name length is 6 ...
4
votes
2answers
5k views

How to delete specific files from terminal

Recently, I converted my music files to a different format. I have for example a folder of an artist containing the different albums in separate folders. I would knowing if is there a way to delete ...
12
votes
3answers
13k views

How do I delete all empty directories in a directory from the command line?

Say I have a directory named "foo". This folder is full of other directories. How can I delete all the empty directories in one command?
7
votes
5answers
13k views

How to recursively remove .svn metadata folders?

I have a Java project and it used a SVN repository, now I decide to change to GIT. However the problem is that SVN engine that I used created in every folder of the project the .svn metadata ...
1
vote
2answers
563 views

How can I trash a file from the command line? [duplicate]

Can I make a shell script trash files instead of delete them? In the past I used gvfs-trash but this doesn't appear to exist in Ubuntu 10.10.