☠ 𝔻𝕆 ℕ𝕆𝕋 𝕌𝕊𝔼 𝕋ℍ𝕀𝕊 𝕋𝔸𝔾! ☣ DO NOT USE THIS TAG! ☢

learn more… | top users | synonyms (1)

42
votes
20answers
75k views

How can I mass rename files from the command line or using a 3rd party tool?

I've got a bunch of files named with a the pattern 99 - DescriptiveName.txt and I'd like to remove the number from the front so I just have DescriptiveName.txt. How can I do this? Can I do it from ...
36
votes
11answers
79k views

How to recover a removed file under Linux?

By accident, I used rm on a file I didn't want to delete. Is there a way that I can get it back under Linux?
27
votes
13answers
6k views

Best way to *confidently* search files and contents in Windows without using an indexing service?

Back in Windows XP I knew that doing a file search and checking "Search file contents" (or whatever it was) I would get my results if I waited patiently. In Vista, I felt I had absolutely no ...
24
votes
7answers
29k views

Batch-convert files for encoding

How can I batch-convert files in a directory for their encoding (e.g. ANSI->UTF-8) with a command or tool? For single files an editor helps, but how to do the mass files job?
21
votes
22answers
11k views

What's a good alternative to Windows' “Search for Files and Folders”? [closed]

The built-in Windows Search tool will apparently not search within PHP files. I cannot find the files named *.php containing text "some_function_name" that I know are there. Search is complete. ...
38
votes
9answers
54k views

How to delete a file in Windows with a too long filename? [duplicate]

Possible Duplicate: Tool for deleting directories with path/names too long for normal delete My wife has several files and folders that somehow ended up having filenames that have caused ...
23
votes
7answers
5k views

What does the @ mean on the output of “ls” on OS X' terminal?

When doing an ls in a directory I get the following output: drwxr-xr-x@ 12 xonic staff 408 22 Jun 19:00 . drwxr-xr-x 9 xonic staff 306 22 Jun 19:42 .. -rwxrwxrwx@ 1 xonic staff 6148 25 ...
5
votes
2answers
13k views

How to recover deleted files in Mac OS X?

Is it possible to recover my deleted files in Mac OS X (after I emptied the trash also)? In Windows I can recover the deleted files using file recovery software. Similarly, in Mac OS X, Is any ...
13
votes
2answers
66k views

How to copy files to read-only NTFS hard drive on a Mac

I want to copy my some files from Mac (Macbook-Air) to a USB external hard drive, formatted as NTFS. How is it possible? Because when I do copy my files from the Mac and go to paste them on the ...
5
votes
4answers
10k views

Windows 7: File In Use when deleting file [duplicate]

Possible Duplicate: How do I delete a 'locked' file? Trying to delete a file, and I get an error saying that the file is in use. I've tried to look for it in the Resource Monitor ...
21
votes
0answers
5k views

Tool to determine what has locked a file [duplicate]

Every once in a while when I try to remove a file I have been working with, Windows tells me I cannot remove it, because some application is still using it. Sometimes it's just my own stupidity, and ...
12
votes
6answers
14k views

How do I determine what file occupies a given sector?

I have a hard drive with 3 bad sectors. I know the sector numbers and the computer can still boot into Windows. I want to run sector repair from an HDD diagnostics tool from the manufacturer, but ...
9
votes
4answers
6k views

How to delete (invalid) files with colon in their name under Windows

I've got a rather large number of files on my Windows drive that have a colon in their name. (These came from unpacking some Unix archives.) When I try to delete them, Windows (XP) complains that ...
60
votes
2answers
81k views

Easy way to find out which process is locking a file or folder in Windows? [duplicate]

Possible Duplicate: How do I delete a ‘locked’ file? How can I find out which process is locking a file or folder in Windows? For instance if you are trying to delete a folder ...
17
votes
3answers
11k views

What is the difference between size and size on disk?

Looking at the properties for a windows file I get two attributes, Size & Size on disk and Size on disk is always larger. What do these two metrics mean?
10
votes
3answers
3k views

Search and replace tool that can handle multiple files and subfolders

I'm looking for a tool which can search/replace within file contents for a broad range of file types (i.e. it should, if possible, process the maximum possible number of file types like .txt, .sql, ...
56
votes
11answers
79k views

Linux: How to move all files from current directory to upper directory?

I tried something like mv . .. but it doesn't work.
40
votes
3answers
63k views

How to make new file permission inherit from the parent directory?

I have a directory called data. Then I am running a script under the user id 'robot'. robot writes to the data directory and update files inside. The idea is data is open for both me and robot to ...
43
votes
5answers
33k views

Recursively count all the files in a directory [duplicate]

Possible Duplicate: How can I count the number of folders in a drive using Linux? I have a really deep directory tree on my Linux box. I would like to count all of the files in that path, ...
40
votes
3answers
63k views

How can I determine what process has a file open in Linux?

I'd like to determine what process has ownership of a lock-file. The lock-files are simply a file with a specific name that has been created. So, how can I determine what process has a particular ...
6
votes
1answer
7k views

How to change default app for all files of particular file type through terminal in OS X

How can I change the default app for all files of a particular file type through the Terminal in OS X?
7
votes
5answers
1k views

tag based file organizer [closed]

I'm finishing professional school and over the years have acquired a pile of notes and articles that I'd like to hang onto. I'd like to add to them and create sort of an archive of article and files ...
4
votes
4answers
402 views

How do I delete a file that is in use by another process? [duplicate]

Possible Duplicate: How do I delete a 'locked' file? More specifically, I'm trying to rename or overwrite a file, and get the message Access Denied. Make sure the disk is not ...
11
votes
2answers
2k views

Unix: Files starting with a dash, -

Ok, I have a bunch of files starting with a dash, -. Which is not so good... and I want to rename them. In my particular case I would just like to put a character in front of them. I found the ...
9
votes
2answers
6k views

Windows 7, any way to sort folders and files all mixed together?

Is there a way to sort folders and files by their name all mixed together in Windows 7? It would be easier to understand if you look at THIS page. I want my folders and files arranged like the ...
6
votes
3answers
20k views

How to prevent a file from accessing the internet

There are some exe and dll files belonging to some programs on my laptop which communicate with the internet without my permission (for self-update generally). I want to prevent those files one by one ...
4
votes
1answer
688 views

Associating/Grouping a file with a folder in Windows so that they both are moved together

I saved an HTML web page using Google Chrome. An HTML file along with a folder containing the images was saved on my computer. Now when I move the HTML file to a different location or delete it, the ...
6
votes
2answers
1k views

Renaming files using F2 on Windows XP

On Windows Vista & 7, when you select a file and press F2, only the file name is automatically selected without spanning the extension. Then you can write the new file name and hit enter. It is a ...
11
votes
4answers
6k views

How to join two CSV files?

Suppose you have one CSV file with 2 fields: ID and email. You have another file with 2 fields: email and name. How can you produce a file with all three fields joined on email?
10
votes
1answer
24k views

How to prevent long file name error copying from an external drive?

I have an external hard drive with many files (800 GB). I want to copy the entire contents of the external hard drive to my local drive. get many errors about long file name or long file path. ...
3
votes
4answers
12k views

Obtaining the Windows 7 CD key from its installation files

Are there any files probably contained in the Windows directory that have the product key? I need to re install the OS of my laptop but have misplaced the CD key.
5
votes
4answers
21k views

Insert a Null Character (ASCII 00) in Notepad

I want to insert a null character (ASCII Value 00) into an open file in Notepad. A program that is reading this file is expecting 00 at the end, but it's getting the ASCII value for space - 20. How ...
7
votes
6answers
8k views

What is the easiest way to find and replace text in 20 text files in a directory?

I have 20 text files with various extensions in a directory. I want to replace "nnn" with "ooo" in all files. I could import them into a project in Eclipse or Visual Studio to replace them all but ...
5
votes
2answers
1k views

how to delete a file with a weird name

I wrote a program that uses POSIX memory-mapping function (mmap) The program takes a file (a.dat) and memory-maps it for reading/writing. Due to errors in the program, every time I run the program a ...
7
votes
7answers
5k views

Can't delete file named ЃϵϳЅЂϿϽϯІχϯπρЂϻϵЉЃϵϳЅ

I installed Windows 7 over the top of XP and it left me with a 'Windows.old' folder. I tried to delete it, and it got rid of everything except 2 files named: ЃϵϳЅЂϿϽϯІχϯπρϴϱЄϱЃϵϳЅ ...
1
vote
4answers
753 views

Vista: setting file permissions

I have a server running on Windows Vista and am having problems setting file permissions. I want to set a folder to 777, but when unselecting read-only from Explorer, after going back to it read-only ...
1
vote
2answers
542 views

Mac OS X file recovery [duplicate]

Possible Duplicates: How to find the original content when the folder is already “replaced”? Is there any free undelete software for the Mac? I thought that all operating ...
30
votes
4answers
25k views

How do I find out the file type without an extension? [duplicate]

After recovering my HDD, I ended up with a lot of files with no extension. Many of them are .bin files. Is there any way to find out what file format they actually are? Many of them have no ...
54
votes
2answers
11k views

How to append to a file as sudo? [duplicate]

Possible Duplicate: sudo unable to write to /etc/profile I want to do: echo "something" >> /etc/config_file But, since only the root user has write permission to this file, I can't ...
59
votes
3answers
3k views

Why do some downloading files not know their own size? [duplicate]

Occasionally, when downloading a file in a web browser, the download progress doesn't "know" the total size of the file, or how far along in the download it is -- it just shows the speed at which it's ...
14
votes
3answers
11k views

How to purposefully exclusively lock a file?

I want to hold an exclusive lock on a file so it cannot be read or written by anything else. Is there a simple Windows tool or command to do this? I suppose the tool or utility would implement the ...
8
votes
1answer
6k views

Where is the Windows Registry Files stored?

Where can I find the files edited when you run RegEdit?
6
votes
6answers
42k views

What files are in local settings/temp and can I delete them?

I just found that I have 4 GB of space in /Documents and Settings/<user name>/Local Settings/temp. Is there any reason why I shouldn't go and delete these?
8
votes
2answers
2k views

Remove duplicate files across separate directory trees

I have two directories: old/ and new/. Some of the files in old/ are duplicates of those in new/. Some merely have the same name, and a few may even have identical content but different names. I'm ...
6
votes
1answer
230 views

Is it possible to 'instantly' create arbitrary files?

I've seen the following trick to create large, empty files somewhat quickly: dd if=/dev/zero of=test.dat bs=1024 count=1024 However, this still takes some time when creating multi-GB files. I ...
5
votes
3answers
3k views

Alternatives to Microsoft Live Mesh and Microsoft Live Sync? [duplicate]

Possible Duplicate: Keeping folders synced between several machines I have tried the following two programs over quite some time, so I have a bit of experience with both, and now I want to ...
2
votes
4answers
1k views

Mac keyboard shortcut to rm file [duplicate]

Possible Duplicate: Permanently deleting files on Mac OS What's the Mac keyboard shortcut to rm a file? I know command + delete sends it to trash, but I want to permanently delete it, say ...
5
votes
3answers
7k views

How to clear Windows File Cache

For testing purposed I need to clear file cache (for example to measure file operation performance). I found CacheSet from sysinternals, but pressing Clear there doesn't help. A file that I just ...
4
votes
5answers
7k views

How to delete a file that contains spaces in the file name?

I have a file with this name "Registering wrong app ", there are a few spaces in the file name, now I can't delete it, it won't even let me change file name, I also tried to delete it from my Java ...
4
votes
5answers
12k views

Batch file to replace a single character in Windows filenames

I have a Windows Server 2003 server that has a whole bunch of filenames that need renaming. Basically, I just need all - (hyphens) replaced with _ (underscores), no matter where they are in the ...