☠ 𝔻𝕆 ℕ𝕆𝕋 π•Œπ•Šπ”Ό π•‹β„π•€π•Š 𝕋𝔸𝔾! ☣ DO NOT USE THIS TAG! ☒

learn more… | top users | synonyms (2)

75
votes
6answers
110k views

How to get the summarized sizes of folders and their subfolders?

Let's say I want to get the size of each folder of a linux file system. When I use ls -la I don't really get the summarized size of the folders. If I use df I get the size of each mounted file system ...
72
votes
2answers
117k views

What do green folders mean in Windows 7 Explorer?

I downloaded a ZIP file and dragged the files out of the ZIP into a directory. The subdirectories I copied displayed in Windows Explorer in green instead of the default black. What does the green ...
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 ...
58
votes
8answers
104k views

Can I delete the folder “C:\WINDOWS\Installer\$PatchCache$”?

This folder is taking up nearly a GB of my C partition. Is it possible to just delete it?
39
votes
6answers
43k views

How to list folders using bash commands?

Is there any way to list just the folders in a directory using bash commands? ( as the ls command lists all the files and folders )
37
votes
6answers
58k views

How to merge (and not replace) folders when copying on the Mac?

There's a similar question about windows. This is the same, but for mac. By the way, it's odd there's no question on this yet, since it seems like it's the most hated thing on Mac OS X. If I try ...
35
votes
3answers
3k views

What is the difference between “Program Files” and “Program Files X86”?

In Windows 7 there are two folders, "Program Files" and "Program Files X86". What is difference between them? Where does a 64 Bit program get installed?
32
votes
2answers
9k views

How to add an empty folder in a Mercurial project?

In my project, I am using Mercurial and a folder in when the user can upload file. But since the user will upload files, the folder is empty. I don't know how I can add this folder to my project ...
29
votes
5answers
41k views

Bash script to delete files older than x days with subdirectories

I'm trying to delete a ton of files older than x days. Now I have a script to do that find /path/to/files* -mtime +10 -exec rm {} \; But this will also delete the subdirectories. There are a ton ...
27
votes
3answers
25k views

Are 'C:\ProgramData' and 'C:\Users\All Users' the same? Do I need both?

I have these two directories on my hard drive, which seem to be identical, and each take up 2.4GB C:\Users\All Users C:\ProgramData Why do both exist? Can I get rid of one of them?
24
votes
4answers
5k views

Directory vs. Folder

Are both names synonyms or should one prefer one name over the other on different platforms?
24
votes
9answers
15k views

Linux: Compare Directory Structure Without Comparing Files

What is the best and simplest way to compare two directory structures without actually comparing the data in files. This works fine: diff -qr dir1 dir2 But it's really slow because it's comparing ...
24
votes
1answer
38k views

How do I unzip a tar gz archive to a specific destination?

I want to unpack a .tar.gz file to a specific directory. The archive file is in /root/Documents. I want to unzip it into /root/Desktop/folder. The folder structure in zipped file should be preserved ...
24
votes
3answers
26k views

What is the difference between “local” and “roaming” folders? [duplicate]

Possible Duplicate: Why are there directories called Local, LocalLow, and Roaming under \Users\<username>? I've been poking around some of folders on my Windows 7 Home Premium ...
21
votes
7answers
55k views

Copy directory contents using 'cp' command

How do you copy all the contents of one directory into another? For example: $ cd /home/newuser $ cp -a /backup/olduser/* . The problem with the above is that the globing pattern '*' matches the ...
21
votes
9answers
35k views

What is a good tool to export a directory structure?

Is there any good tool that I can use to get a browsable tree-view of the directory structure of a partition? Something like the tree view in the windows explorer. Additionally, I need to be able to ...
21
votes
3answers
24k views

Open folder for a given path in Mac OS X

Let's say I have a path to a folder in a text document or in the clipboard, for example: /Users/Joe/Documents/workspace/test How can I quickly open this folder in Mac OS X? In Windows I could open ...
19
votes
5answers
45k views

Can't delete folder, need permission from adminstrator? [duplicate]

There's a folder on my desktop called like 'example' and when I try to delete it it says "You require permission from the computer's admistrator to make changes to this folder" when checking the ...
19
votes
2answers
29k views

How do I gunzip to a different destination directory?

How do I gunzip to a destination directory other than the current one? This did not work: gunzip *.gz /putthemhere/
19
votes
10answers
15k views

How do you sort files in OS X Finder so folders appear at the top?

How do you sort files in OS X Finder so folders appear at the top? There doesn't seem to be any option in View Options.
17
votes
2answers
13k views

Why does my downloads folder take so long to load?

When I open my downloads folder, no files appear, just a message saying "This folder is empty". I see the address bar progress slowly creeping along, and after about thirty seconds the files and ...
17
votes
3answers
15k views

How to have full directory path always shown in mac terminal (like linux terminal)

In my ubuntu terminal I have always current directory shown completely. Just like this: blabla@blublu:~/music/my_album/classical/beethoven$ But in my Mac (Mac OS X 10.6.5) terminal does not show ...
17
votes
3answers
19k views

scp -r … but leave out (exclude) a specified subdirectory

Here's the directory structure: /a/ /a/b/ /a/c/ I want to copy everything, EXCEPT for the /a/c/ subdirectory. scp -rp myserver:/a . # this will copy everything Q: How would I specify a ...
16
votes
6answers
2k views

Password protect a folder

What are the available options for password protecting a folder? I'm talking about requiring a password to actually access the folder, not just user access rights. Is the third-party software out ...
15
votes
3answers
48k views

How to recursively change sharing/permission of a folder in Mac OS X

Is there any Mac OS X tools or scripts which allow me to change sharing/permission properties of files and subfolders in a folder recursively. For example, to let everybody or a specific user able to ...
15
votes
2answers
3k views

Why is there usually a folder called 1033 in Microsoft Folders

I found that most of the software by Microsoft contains a 1033 folder. Is there any relation of the folder with Microsoft? Does it contain a special type of data?
15
votes
2answers
69k views

Where is the wallpaper folder in Windows 7?

Where is the wallpaper folder in Windows 7?
15
votes
7answers
10k views

How to search for a folder from the Windows 8 Start screen

In Windows 7, if you press the Windows key and type the name of a folder, and the folder shows up among the Start menu search results. In Windows 8, if you do the same thing, no folders are listed. ...
14
votes
4answers
2k views

Double root folder vs single root folder

On my Linux box, in bash, I have access to a "double root" folder denoted by two forward slashes: tomas:~ $ cd / tomas:/ $ ls bin/ cdrom@ ... tomas:/ $ cd // tomas:// $ ls bin/ cdrom@ ... The ...
12
votes
3answers
35k views

How do I delete directory trees via console on Windows 7?

I want to delete the whole content of a specified folder on Windows 7 via batch file. My problem is, that 'del' or 'erase' only deletes the files, not the folders and 'rmdir' or 'rd' Always deletes ...
12
votes
3answers
18k views

How can I find the short path of a Windows directory/file?

I need to use shortened path names for an application that I am using. For example I need C:\PROGRA~1\ as opposed to C:\Program Files. The program can't handle spaces and won't accept quoted paths ...
12
votes
4answers
3k views

How do I create a tar file in alphabetical order?

I want to create a tar file where all of the directories and files are processed in alphabetical order. This is for the entire directory hierarchy that's being tarred up, so it would start by ...
12
votes
1answer
295 views

How to remove a directory called C: under Windows?

I read this question: how to delete (invalid) files with colon in their name under windows This doesn't seem to work for a directory named C: though. I have a directory named F:\VM\C: any chance to ...
11
votes
9answers
47k views

Unable to delete folder in windows 7?

I'm unable to delete some folder on my external hard disk. I tried them to delete in safe mode too but I'm not able to perform this. This is a big headache to me now. Even I'm the admin and it still ...
11
votes
6answers
38k views

CURL to download a directory

I am trying to download a full website directory using CURL. The following command does not work: curl -LO http://example.com/ It returns an error: curl: Remote file name has no length!. But when ...
10
votes
7answers
12k views

Can't delete folder in Windows 7

I'm trying to delete a folder in Windows 7 and get a perplexing error message: "Could not find this item: This is no longer located in G:\Graphics. Verify the item's location and try again. I can ...
10
votes
9answers
2k views

Syncing Tool Between 2 Folders [duplicate]

Possible Duplicates: Which is the best application to Sync two folders? Keeping folders synced between several machines What is a good tool to automatically sync two folders when changes ...
10
votes
4answers
9k views

.tar files without directory structure

I'm .taring some files with the path example/super_user/Output.*. The resulting .tar looks like this: + example + super_user - Output.zip - Output.xml - Output.txt ...
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, ...
10
votes
3answers
6k views

Can I use the “start” command with spaces in the path?

I have a path like this: Y:\xxx\dd sss\aaa\ccc Y:\ is mapped to an FTP address. Now when I try to use start to open my folder I cannot. Command prompt makes mistake and goes to Y:\xxx\dd folder! I ...
10
votes
7answers
4k views

Easiest way to get right-click “Open command window here” with admin priveleges in Windows 7

I don't want to install PowerToys, I'd rather a simpler solution for this specific problem. I've tried Ctrl+Shift+Right-Click. I've tried adding a registry script, but I get the following error: ...
10
votes
3answers
5k views

How do I get Windows 7 to NOT use the recycling Bin on a removable drive?

How do I get Windows 7 to NOT use the recycling Bin on a removable drive? I've already told Windows to not use the function on that drive but Windows still creates the "Recycling Bin" folder. It stays ...
9
votes
3answers
8k views

how to access different directories outside cygwin home dir

I have installed dropbox in my computer, but it is located outside my cygwin directory. The probably easiest way would probably just move the dropbox directory to cygwin's home dir. Anyway I wonder if ...
9
votes
1answer
2k views

Folder needs admin permission for every single action

Ok, I already created a thread and it said, I should visit another thread, and if the problem isn't solved to create a new one with more details. So here I am. I have, the following Problem: I own 4 ...
9
votes
2answers
5k views

Replace, not merge, folders when copying

In Windows Vista, when I try to move a folder to replace an existing folder, Vista asks me if I want to merge the folders or cancel. How do I get the old XP behavior where the old folder is just ...
9
votes
5answers
9k views

How to safely delete stuff from %SystemDrive%\Windows\Installer? [duplicate]

Possible Duplicate: Is it safe to delete from C:\Windows\Installer? How can I safely delete OR shrink OR delete from the %SystemDrive%\Windows\Installer folder? Don't tell me to go to ...
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 ...
8
votes
8answers
3k views

Unable to rename a folder or a file as 'con'

in all versions of Windows we are unable to rename a file or a folder name as con unless we use a renaming software. Why a file or a folder can't be renamed as con?
8
votes
3answers
2k views

How can I remove a folder without a name in Win7?

I use Windows 7. The problem can be seen from the picture. I have tried to remove the folder "by mouse". But I failed to do so. How can I remove the folder without a name? UPDATE: Thanks to Nifle's ...
8
votes
1answer
13k views

How do I find the size of a directory on a Unix-like command-line?

I know this is a very basic question, but I searched the web and did not find a simple answer. I'm sure it's some kind of two or three letter command, right?