Use this tag if you are trying to delete files or folders. It is usually helpful to have an operating system tag alongside.

learn more… | top users | synonyms (2)

1
vote
5answers
483 views

Unable to delete a file, shows path not found error

Due to some malware attack a file named com7.ini.asp got created in my folder and it is hidden when I browse it through Windows. I tried the following: I gave the whole path in the address bar and ...
1
vote
1answer
153 views

How do I delete highlighted syntax in Notepad++?

I have just started learning HTML in Notepad++ and I am playing around with the tags a lot. When my cursor is inside of an open or closed tag both are highlighted automatically in purple. I was ...
0
votes
2answers
98 views

Delete a file that “does not exist” with a strange name

I've read about deleting files which "do not exist" and got as far as del /q /s filename in command prompt. However, the file is named COM^sv3.O[e in the browser. but when i type in dir it = Of ...
0
votes
2answers
633 views

How is free space reclaimed when files are deleted in Windows?

Whenever I delete a large set of files (multiple GB's) I noticed that this doesn't free space as much as I would expect. My expectation is that if I delete a certain amount of data my free space will ...
2
votes
2answers
2k views

How to delete Windows NTFS hard link (mklink /h) while original is in use?

On a Windows NTFS file system, I have a file (say, orig.mp3). I open this file, through this path orig.mp3, in such a way that it is in use (say, by playing it in VLC). Then I create a hard link ...
9
votes
1answer
5k views

How do I delete the Chrome App Launcher?

I'm running OSX 10.8.5 and I can't figure out how to get rid of the Chrome App Launcher. In launchpad when I long click on it and things begin to wiggle there's no X for me to click to delete it. ...
0
votes
0answers
95 views

Selectively deleting files with same filename (raw, JPG)

I am a photographer and generate "raw" and JPG images. At a certain point in my workflow, I need to delete all the JPG images before proceeding. That's easy enough; in Windows Explorer, one can sort ...
0
votes
1answer
298 views

Can windows search indexer prevent file from deleting?

I know that when windows processes open files for reading, they lock them. How does Windows indexer do that? Can it prevent the file from being deleted in addition to slowing everything down? Can my ...
0
votes
0answers
18 views

Automator service - deleting last page from PDF

I was reading this post on deleting first page from the PDF. How can I modify the desribed work flow in order to delete the last page from the PDF?
0
votes
1answer
36 views

Mass irretrievable deletion of text

Now and then if I am typing rapidly in Word, I press some key or combination of keys that deletes a large body of as yet unsaved text - and, I think, automatically saved text at times - that cannot be ...
1
vote
2answers
2k views

Delete all files older than 365 days, but exclude certain folders

Edit: After @Mbu answer I realized that my first approach with leading numbers in folders as criteria to exclude isn't the right way. I decided to use a fixed list of folders to exclude. I want to ...
0
votes
2answers
589 views

Why don't deleted files and folders go away when deleted?

I've got a problem with some of my folders on this PC. At one point I had two folders with exactly the same name too. When I try to delete them I get some odd errors like: Could not find this ...
1
vote
1answer
56 views

Unable to delete File [duplicate]

I'm completely unable to delete a file, which doesn't even show up in Windows, but does in OSX (Mountain Lion) this file was created after uninstalling AppServ (local webserver) Now I need to ...
0
votes
1answer
397 views

How to remove large number of files/folders in linux

We are using hadoop to split a table into smaller files to feed to mahout, but in the process, we created a huge amount of _temporary logs. we have an nfs mount for the hadoop volume so we can use ...
1
vote
1answer
65 views

Can't delete nested libraries file

So, the thing is - I installed Arduino some time ago, and all of a sudden it stopped working. I did som ressearch, but found no answers, until some days ago when I stumbled upon something ...
0
votes
0answers
27 views

When deleting a profile in win regedit is there the potential to delete profile from network?

When deleting a profile from the Windows 7 Registry is there the potential that it could affect the profiles on the network or is it just on that tube?
0
votes
1answer
470 views

How to delete all files inside public_ftp folder and its sub folders which are older than X days using Cron Job?

I want a way to run Cron job (automatically daily) on server that will delete all files only (not folders) which are older than X days from today's date, in the public_ftp folder and all its sub ...
-1
votes
2answers
1k views

Excel 2010 Delete Rows with Locked Cells

I have a spreadsheet that has formulas that I want to lock, once the information in the row is completed, i.e. there is a discharge date, I want the end-user to be able to delete the row and insert it ...
2
votes
1answer
851 views

Removing files on ZFS does not free disc-space

I'm trying to free space on a ZFS by removing files. They are large (>1GB) so it should show in the numbers. Unfortunately, after unlinking the files, df does not show any increase in available ...
1
vote
0answers
15 views

Emails from Outlook 2010 are still in Start Bar from Windows after removing account

I deleted an account from Outlook 2010 (and I deleted the PST file too) but the emails are still in the Windows Start Bar (if I put any search in this bar, then the emails are displayed there!!!). How ...
1
vote
2answers
557 views

ownCloud sync deleted files

Windows 7 Home Premium x64 with ownCloud 1.4.1 sync client and ownCloud 5.0.12 server on Ubuntu 12.04 VPS. Sequence of events: Installation of ownCloud server on the VPS. Configuration, creation of ...
0
votes
2answers
115 views

How to remove all account information in Windows 8 O/S

I have to return a Windows 8 Acer Aspire laptop to the manufacturer and wish to remove all my account information. I've had the machine for one day only and not much has been installed. What is the ...
2
votes
1answer
53 views

How can rm -rf be slower than delete in nautilus?

I had this very surprising situation recently, while trying to delete folders containing many files (think code repo checkout with some 10 thousands files): When I tried to do this via command line ...
1
vote
1answer
218 views

Prevent permanent deletion of files in Windows XP

First, I'm running Windows XP Home Edition Service Pack 3. Is there any way to disable the permanent delete? Normally, deleted files go to the Recycle Bin. Can I disable the bypass-recycle-bin-delete ...
0
votes
0answers
28 views

How to delete files owned by other users windows 7? [duplicate]

I have an external hard drive that I used to install programs on, I have since formatted my c drive and use the external drive as a storage only drive. There are however two remnants left over from ...
0
votes
2answers
580 views

Service Running under Local System account can't delete a file in system32 on windows 7

I have an executable file in my system32 that I want to remove on startup using a service that I have written. The service that's attempting the deletion is running under Local System account. The ...
5
votes
1answer
174 views

Move files to directory instead of recycle bin

I want all deleted files (with DEL-key or context menu > delete) not to be moved to the Recycle Bin but to another directory (like "Deleted Files" for instance), thus changing the default behavior of ...
0
votes
1answer
109 views

Deleted IMAP account/Personal folder… safe to delete *pst files?

I recently deleted IMAP accounts in Outlook 2007 as well as a Personal Folder that was no longer essential. (Just in case I repented of that decision, the Personal Folder was backed up and transferred ...
1
vote
1answer
457 views

ubuntu remove file with full permissions

I created a file in the /tmp/ directory. The file is owned by mysql user and has full permissions, i.e. -rw-rw-rw- 1 mysql mysql 16 Sep 23 12:44 artists.csv Now I want to delete it, but get ...
2
votes
1answer
264 views

Delete all file except some in bash, without cd to the directory?

I need to make a daily cleanup in a download directory. I have saw this question and tested the answer rm !("test 1"|"test 4") It work great, but require to have cd to the directory before. Since ...
0
votes
2answers
148 views

Need to delete a file I accidentally labeled in quotes in Linux [duplicate]

I have a file which I wrote and not thinking put the actual filename in single quotes like this: 'filename' When I try to remove it using rm -f 'filename' it does not recognize that it is there I ...
2
votes
1answer
325 views

Recursively delete all .exe files with the same name as the containing folder

I want to delete all .exe files in the current folder and all the sub-folders. I read that find . -name "*.exe" -exec rm -f '{}' \; will do, but I want to do the delete only if the container folder ...
1
vote
1answer
147 views

Terminal: Deleting everything except for .nef or .jpgs

I am using Mountain Lion on a Mac. I want to delete all the files in a directory which do NOT end with .psd, .jpg, or .nef using Terminal. How would I do this? Thanks in advance!
1
vote
2answers
184 views

rm -r: exclude certain subdirectories

The problem I have a directory structure, e. g. something like this (here trailing slashes represent folders): ./A ./B/A/A ./B/A/B ./B/B/ ./B/C ./C/ And I need to recursively remove everything ...
0
votes
0answers
34 views

Is there a delete trigger called on deleting an html file?

How is it that when I delete the file, say Stack Overflow.htm, the folder Stack Overflow_files is automatically deleted along with it? And does this user have control over this? Strictly talking for ...
1
vote
4answers
186 views

Does archive size of tar, zip and rar effect the time it takes to delete a file from it?

Does it take a longer time to delete files from a large tar zip and rar archive than a smaller one? I would think that for a file to be deleted from an archive, all the data that exists after the ...
1
vote
0answers
25 views

Deleting *.htm files also deleted *.html files [duplicate]

What is going on here?? Bunch of *.html and *.htm files in my directory, I do a del *.htm and after that the *.html files are also gone: I noticed it happening in Total Commander when I typed the ...
0
votes
1answer
584 views

How to create batch file that delete files by words at the end of file name (using a list of words)?

I have a directory with thousands of html files scattered across several subdirectories. I need to delete all files matching any one of many criteria. All criteria are similar by kind. The file names ...
0
votes
2answers
73 views

Has anyone seen this and how can I remove it?

I have a folder which I'm not able to delete or open. when I check its properties, it seems like I have a drive beneath my folder: C:backup is the name of the folder. Although I have a C drive, ...
0
votes
1answer
69 views

Irregular time-delay while deleting files

I have a very general question. I am running on Red Hat Enterprise Linux Workstation release 6.2 (Santiago) in a network where my workstation from time to time needs an annoyingly long period to ...
0
votes
1answer
2k views

Batch Scripting - How to delete a subfolder (files/folders) over several directories

I need a batch file to traverse a directory structure that looks like this C:\CruiseControl\ProjectArtifacts\ProjectName1\Logs C:\CruiseControl\ProjectArtifacts\ProjectName1\Src ...
0
votes
2answers
387 views

Unix command for finding and deleting folders with folder names in date format

I have folder names in the below date format 20130801 20130802 20130803 20130804 20130805 20130806 20130807 20130808 . . . 20130819 Similarly ,I have folders created from past two years for each ...
1
vote
1answer
196 views

Deleting the duplicate files made from iTunes - consolidate feature

I selected the iTunes folder library as [home folder]/Music Having music files in the same folder ([home folder]/Music) I select File -> Organize Library -> Consolidate Files. Which created doubled ...
0
votes
1answer
106 views

Need a script to delete all temp files beginning with ~$

A recent scan on our file server for temp files with ~$ appended to the start of the name produced nearly 1,000 results. These files' "Last Modified" dates go back to 2003 (so they are generally all ...
0
votes
1answer
85 views

How can I mass delete all the files in a directory that contain only one line?

I used a data recovery program to recover a bunch of overwritten text and the stuff that I want (previous versions of the overwritten files) is hidden amongst thousands of .txt, .json, .h and .html ...
10
votes
1answer
255 views

Why is deletion speed in Windows periodic often?

Just out of interest, what is the reason for deletion times to be periodic often? In Windows 8, the deletion dialogue window shows deletion speed in a diagram. If there is no reason, of course that ...
0
votes
1answer
74 views

How to delete files carved by Scalpel?

Scalpel is a Linux utility which is traditionally used to recover files on the basis of file signatures, that is in a manner that is unaware of the file system. Can we also use it for doing the ...
0
votes
0answers
37 views

Can't delete folder due to incorrect syntax / name [duplicate]

Somehow I have a folder called "http:" on my computer, I can't delete or access or rename it. When I try to delete I get the message "The file name you specified is not valid or too long, specify a ...
0
votes
1answer
3k views

“Invalid MS-DOS function” error message when deleting a file

I'm trying to delete files on Windows 8 and I get the following error message: Which translates to "Invalid MS-DOS function". If I try to SHIFT+DEL a file to skip the Recycle Bin it looks like the ...
0
votes
1answer
204 views

Deleting old account on Windows XP after reinstall

I recently had to reinstall Windows XP due to some kind of corruption. As I didn't wipe the hard drive first, the old user accounts containing my documents are still present. I want to get rid of ...