Deprecated tag, don't use.

learn more… | top users | synonyms (2)

3
votes
2answers
2k views

Delete files that don't exist in another directory

I have two directories, such that directory B is at least a complete mirror of A. For example: A/ directory1/ file1 directory2/ file2 file3 B/ directory1/ ...
2
votes
4answers
763 views

When I delete files in Windows 7 they are not immediately deleted, do I have malware?

When installing software and in explorer.exe files don't show up as deleted! However, when I try and delete them again (with shift-delete), explorer says that "this file has already been deleted". ...
2
votes
1answer
261 views

Periodically delete .torrent files from a specified directory?

How do I make this happen? A scheduled batch file seems like it might work but I have no idea how. I appreciate any help!
4
votes
4answers
14k views

Windows 7 Unable To Delete Folder in “Programs Files”

I am trying to delete the folder in C:\Program Files\McAfee\VirusScan\Current as a member of the computer’s Administrators group. This is a standalone computer, so no domain or anything. The original ...
5
votes
2answers
1k views

Remove all “deleted” files in Git

Is there a better solution for removing manually-removed files from the Git repository than my current error-prone command? git status | grep deleted: | cut -d: -f2 | xargs git rm
1
vote
3answers
345 views

Script to keep specific directories that contains a .txt file and deletes the files from the other directories without the specific .txt file

I am almost done with the script but this outputs directories. What I would like is to have an output of files. Anyway one of you guys wanna help me out? :) #!bin/bash ( find /testftp/* -type d ; ...
0
votes
3answers
1k views

Used the internet and deleted history (Internet Explorer). Can anyone find out still that I used it? What can they still find out?

As the question states: I used the internet on a shared machine and deleted history (Internet Explorer), which deletes all of the following: I do not want anyone to know that I used the internet ...
0
votes
2answers
1k views

How can I use the find command to remove directories without eliminating certain subdirectories?

I am trying to modify the following command in a script that removes directories based on age. Example directories would be the following: /a/b/c/2011/11/11 /a/b/c/2011/11/11/12-ACD-1234 ...
0
votes
1answer
277 views

How to disable the creation of Thumbs.db file? [duplicate]

Possible Duplicate: What are Thumbs.db files for? How can I prevent them from being created? I am using Windows XP. Everytime I delete a folder which contains Thumbs.db file, I get a ...
3
votes
1answer
734 views

Windows Batch recursive delete old files

I'm looking for a function in batch that recursive delets all files/folders older than X Days from a given path. Is there a Fast and easy snippet that could be placed in a batch function?
33
votes
1answer
29k views

How to use Terminal to delete all .svn folders recursively?

what command can I type into Terminal so that I can: delete all .svn folders within a folder (and from all subdirectories) but not delete anything else ?
1
vote
2answers
3k views

Something keeps deleting my downloaded files

I have been using utorrent for years now and recently I was surprised that I had 24GB free. I thought that was because I deleted some unused apps, but after awhile, I noticed my Torrents folder was ...
5
votes
4answers
2k views

Cannot delete file in OS X

I have a file in trash, and I cannot delete it. Before you ask me to STFW, no, the file is not locked :-/ The file is a symbolic link to nothing (target is deleted). Here is the output of ls -lO on ...
1
vote
4answers
847 views

Is it technically possible to make a self-destructing movie clip?

Is it technically possible to make a self-destructing video clip, like in the movies? I just want to make a little player, which would play clip only once and than remove itself from the system. I ...
0
votes
0answers
134 views

Windows 7 asks administrator for administrator privilege

I seem to get a malware and when I try to delete it, it says I must be administrator to delete it(I do not know the English version since I am not using an English version). But the problem is I do ...
1
vote
3answers
2k views

Deleting a file from a network drive

If I have a network drive setup which connects to a specific server. If I delete a file from that network drive, it does not go into my desktop recycle bin and it does not go into the recycle bin on ...
1
vote
2answers
5k views

How to overwrite system32 files in Windows 7? (that really works please)

I have Windows 7 64bit installed on a virtual box (the fact it is a virtual box shouldn't be relevant). I need to overwrite /Windows/System32/d3d9.dll but the system won't let me. I've read the same ...
3
votes
2answers
3k views

How to strip off mail attachments in Thunderbird while keeping the mail

As I have only 500MB quota on my IMAP account and I want to keep messages when I sent something to someone but the data attached to those mails is often out of date and of no use anymore, it come to ...
1
vote
2answers
4k views

Deleting old Windows 7 Files

This is my 3rd install of windows 7 now on various array of hard drives, I'm now onto a SSD. However I need to clean up all the other files, I've managed to get rid of all the permission based files. ...
2
votes
5answers
10k views

Operation not permitted error when deleting as root

I got into a weird situation. I got a 1Tb portable HD filled with some contents. It was used in Windows and as always packed with virus. I tried deleting some folders as root. But the following error ...
32
votes
15answers
24k views

Permanently delete files from a flash drive

I heard some people mention that files are deleted from flash drive for good, there is no tracing back. Is that really true? If not, how do I permanently delete files from it? I have a sensitive ...
3
votes
2answers
1k views

How to mass remove symbolic links in Windows (amongs regular files that share similar name in many folders)?

Is there anyway to quickly remove many symbolic links in many folders that contains many other files. E.g some command in command prompt (be able to delete all slink created from day XX for example)? ...
22
votes
2answers
580 views

DEL *1.* deletes all files in folder

I'm trying to delete all files that end with the number one, but for some reason it is deleting all of the files in the folder. The command I'm using is DEL *1.* It works when I use a letter like ...
5
votes
2answers
381 views

Windows 7 cross-volume symlinks affecting recycle bin

Related to this question but not identical. Scenario: C:\Folder\Symlink\ is a symlink pointing to E:\Folder\Folder\Target\ Problem: Deleting a file through C:\Folder\Symlink\* bypasses the Recycle ...
5
votes
2answers
2k views

Delete multiple files on PowerShell command line

With PowerShell, what is the most concise way to delete multiple explicitly named files? E.g. on *ix it would be: rm subDir/a.png anotherDir/b.jpg thirdDir/c.gif I'm currently using: echo ...
3
votes
2answers
2k views

Delete locked file/folder from command line

It is easy to delete file or folder from a command line or a locked file or folder from a nice GUI tool like Unlocker. However is there a way to delete locked file/folder from a command line? Is ...
2
votes
4answers
3k views

Make a batch file find duplicate file names with different extensions, and actions on the results

What I want to do is have a batch file search folders, and subfolders, for matching file names that are ending in .mp3 and .wma and delete or move the *.wma duplicates. Below you'll find what I have ...
1
vote
3answers
483 views

Deleting folder with many files from a Library takes ages

I have a large source code folder which consists of 82,480 Files, 19,633 Folders. It is added to Library for fast access. When I delete it from library, it takes forever to prepare deleting and ...
2
votes
2answers
6k views

Batch delete : Access is denied

As the title suggests, I'm having issues with the del command in a batch file. When it gets to the delete step I get the message "Access is denied". My batch command looks something like this. set ...
2
votes
1answer
1k views

How do I temporary delete files with the command line?

I've tried to alias rm with rm='mv $1 /tmp/' to no avail. How can I temporary delete files with the command line? I want to replace the rm command with the mv command to not delete my files and ...
3
votes
6answers
5k views

How to delete a Thumbs.db:encryptable file

I found a file called Thumbs.db:encryptable on my image folder, and I can't delete it. I've tried reboot my PC, but it doesn't work. When I try to delete a folder that contains this file, this ...
1
vote
2answers
287 views

How to detect why I cannot delete directory?

I cannot delete empty directory, I would like to know why. That directory did contain movie that was being played by my custom player and it might somehow be still blocking the directory. however it ...
0
votes
2answers
2k views

How can I remove a directory with rm - rf?

I try to remove a folder with rm -rf foldername … but it says rm: cannot remove folder :is a directory. What's wrong?
3
votes
1answer
1k views

Deleting Multiple Files

I am deleting multiple files with the command: del /s *.doc *.rtf *.txt I get the error Could Not Find *.doc. How can I get the command to continue deleting RTF and TXT files when there are no ...
8
votes
5answers
326 views

Media Sanitation

What is considered the minimum amount of overwrites to sanitize media? For example; there are 1, 2, 3, 7, and 35 overwrites methods to make data irrecoverable. Using standard recovery methods (such ...
0
votes
0answers
301 views

JRE rt.jar getting deleted on machine reboot

I am observing a strange behavior on some of my Windows machines. I have a Server application that uses Java JRE 1.6u26 (Oracle) which is bundled within it. Sometimes a machine reboot causes the ...
4
votes
3answers
8k views

Why can't I delete some .exe files?

I've been having a really strange problem in Windows 7 that's been driving me nuts. Sometimes when I delete a folder full of random files (and no, not files in the Windows folder) and one of those ...
1
vote
1answer
348 views

How do I remove Windows 7 installation?

I want to remove Windows 7 installation from a partition WITHOUT destroying any other data on it using Windows 7 booted from another partition. The most obvious way would be to just delete the ...
0
votes
1answer
472 views

OS X: directory access stalls; how to delete the directory?

There is a directory on my (solid-state) drive on OS X (Lion) that makes the computer stall when I try to delete or otherwise access it (no processor or drive activity). What can be attempted so as ...
3
votes
2answers
3k views

Delete duplicate files with Windows batch file

I have a program that automatically copies files to a directory, and if it creates a duplicate it will name it like so: file with duplicate.xxx file with duplicate - 1.xxx file with duplicate - 2.xxx ...
15
votes
3answers
8k views

How to delete an invincible 0 byte file?

I have a file whose size is 0 bytes. When I try to remove it an error message appears, saying "Could not find file". Here is the list of things I've tried to delete the file: Rebooted Reset folder ...
2
votes
2answers
2k views

Can I delete a blank file left on my desktop by a virus removal?

My computer was infected with a virus. I scanned it with AVG and cleared it. It left me with a blank file that I cannot delete. When I right click on it, the only options I'm given are OpenHomePage, ...
1
vote
1answer
861 views

Windows Live Photo Gallery is deleting photos

I'm helping my mother organize her photos in Windows Live Photo Gallery (Windows 7). We've been scanning in slides taken decades ago. We want to arrange the photos by date, so we have been changing ...
1
vote
2answers
820 views

Deleting Linux partition

I am currently running a dual boot machine with Ubuntu 11.04 and Windows Vista. Is there any way I can delete the Linux partition and Grub boot loader without affecting the Windows partition at all? ...
6
votes
2answers
5k views

Cancelled cut and paste in windows 7

I cut and paste an 80Gb worth of files and folders. At about 80% I cancelled it. Are some of the files deleted and gone forever? Does the files that were successfully transferred gets deleted? If yes, ...
25
votes
4answers
8k views

How to lock a file against deletion but still make it writeable?

I want to make a file locked against deletion but still be writeable. How do I do this? The file in question is a Truecrypt volume as a file on a NAS SMB Network share, so I don't want to ...
4
votes
3answers
1k views

How do I “Move to Trash” in Preview in OS X Lion?

In earlier versions of OS X, in Preview one could delete the currently open file by pressing ⌘⌫. In Lion, the keyboard shortcut (as well as the actual menu item) no longer works. Is there any way ...
5
votes
1answer
2k views

Two commands to move files to trash. What's the difference?

trash-cli provide a trash command, and gvfs-bin provides a gvfs-trash command that move files / directories to the trash can. Is there an important difference between these two commands?
2
votes
2answers
318 views

Accidentally copied a gigantic E:\$RECYCLE.BIN directory from one external hard drive to another. Need to delete it

Ran SyncToy to sync E: to F:. Before I stopped it, SyncToy managed to copy $RECYCLE.BIN from E:, which is gigantic. I emptied my Recycle Bin but F:'s didn't delete. Haw can I manually delete it?
2
votes
4answers
230 views

Deleting VirtualBox

I want to delete my entire VirtualBox, which I have been working on, because I am giving away my PC. How should I do that? I am working on Windows 7 64-bit. Thank you.