Tagged Questions

A directory is a structure in the filesystem, which is able to hold other files, including other directories. Some recent movements call them folders. common commands: | Unix/Linux | Dos/Windows | purpose |------------|-------------|-------------------- | cd | cd | change ...

learn more… | top users | synonyms

0
votes
4answers
49 views

Dir all hard drives with output in DOS batch

How can I list all files (including system and hidden) on all hard drives (not removable drives)? I think in something like a: dir -a -h *.* /s > file.txt but this is for the specific drive ...
2
votes
1answer
28 views

How to override wincmd.ini location?

How to override wincmd.ini location after Total Commander was installed? I can't seem to find a menu item for this setting. Where is this setting stored? Operating system is Windows XP or Windows 7 ...
0
votes
1answer
19 views

Perserve icon with rsync

I was under the impression from here among other research, that rsync was the command used to sync directories and any contents they have. I have tried the following commands: rsync -avzr ...
1
vote
0answers
19 views

Save search results

In the Directory Service Find dialog, I'm given the option to save my search, but not save the results. How can I save the results of the search? Would it be easier to copy the directory, if my ...
1
vote
1answer
43 views

What does directory permission 02777 do?

Found the following PHP code today: mkdir($directory, 02777); chmod($directory, 02777); I understand the PHP, but not first part of those numbers. The 777 part is clear, and if I have understood ...
4
votes
1answer
68 views

Mac OS X not reporting directory sizes correctly?

I'm running Mac OS X Lion 10.7.2. In Finder, I've noticed that if I duplicate some .app files (in the Applications folder), Finder will show that the duplicate .app file is not the same size as the ...
1
vote
0answers
22 views

Show different directory icons in windows explorer depending on ownership

In the Windows file explorer - Is there a way to give a certain icon to directories which I own? In Windows xp? In Windows 7? Henrik
1
vote
1answer
26 views

Unable to access a script from root directory in Linux

I have a script in one of I my root directory: /root/scripts/script1.sh I wan't to call that script as another user (james1). I did the following (as root user): root@pc83$ CD scripts root@pc83$ ...
3
votes
1answer
90 views

How to physically reorder files `03.mp3 01.mp3 02.mp3` (`ls -f`) in a directory?

The physical order of the files matters when I copy them onto my USB stick and listen in car mp3 player. Most of my music album folders are unsorted, e.g. ls -f may produce: 03.song3.mp3 01.song1.mp3 ...
4
votes
1answer
100 views

Google Chrome - Last save directory

When in Incognito mode, Google Chrome doesn't seem to remember the last download directory for HTML pages. Images/executables/etc work fine, but whenever an HTML page is downloaded via Save Page As, ...
0
votes
0answers
77 views

Create a virtual directory without IIS

My projectgroup is working on a project that has an upload dir. We ofcourse exclude the upload dir from our SVN. This means that we don't share these files. We do share the DB since it's stored on the ...
1
vote
1answer
42 views

GNU/Linux substitute for the Windows-based TreeComp tool

I miss the TreeComp tool from Windows on Linux. Does anybody know about a similar tool for Linux? I've tried Unison & Unison-gtk (slow and cumbersome), diff (various), meld, mc, rsync (immensely ...
4
votes
1answer
107 views

Linux: which is “most appropriate” directory to place an exectuable for all users?

A bit of newb question.. I usually install packages and don't worry about these things. But, now I have a one file executable CLI program (Kindlegen from Amazon). I want it to be in the path of all ...
2
votes
1answer
51 views

Tool for getting a complete directory/file listing with complete, detailed information

Once in a while, I take a complete snapshot of my drives with a command like the following. > for %i in (%drives_hd%) do @dir %i:\/s/a/o>>File_List.txt This gives detailed information ...
2
votes
0answers
11 views

What's the convention for a directory to store unix domain sockets in?

On Ubuntu or *nix systems is there a convention to store Unix Domain Socket files in a specific directory? I've seen applications store it in /tmp, but I thought /tmp can get periodically cleared, no? ...
0
votes
0answers
14 views

How to tell app to convert files per subdirectory?

I have a question similar to this one : Copy directory structure without copying files, on Mac OS X Assuming a similarly annoying directory structure (A/B/C/file.end), i want to feed that into a ...
0
votes
1answer
32 views

How to add a directory not on C:\ to the PATH variable

I have recently installed Python in D:\Python32 and added that directory to my PATH variable, but it doesn't seem to work. Does PATH only work with C:\ ? OS is Win XP Pro 64
1
vote
1answer
41 views

Cant Get Computer directory

This is an unusual problem that I have never faced before. For some unknown reason when I opened Explorer there was no way for me to see the Computer drive directory. Also when I tried to Save a ...
0
votes
0answers
23 views

How can I use batch commands to set the permissions of a directory to allow domain users full access

Basically, I have a directory that domain users need to have full access to. They use a batch file to open the piece of software that they use for their work, and this piece of software needs full ...
0
votes
5answers
44 views

How to run programs from a different directory in unix

I know this is a very simple question, and that many similar (but more complicated!) questions have been asked- So i wanted to ask this in a very plane manner. Sorry if this voids the rules of conduct ...
2
votes
1answer
59 views

Git keeps forgetting the current directory

I've got a git repository, call it myscripts/. Within myscripts/ are subdirectories perl/, python/, and ruby/. For some reason, when I edit code in one of the subdirectories, Git forgets that the ...
1
vote
2answers
100 views

What Are These Empty Directories With Unknown Strings?

Just noticed a lot of them in Windows 7 64-bit AppData\Local* folder: Anybody knows what are they and if safe to remove?
1
vote
1answer
37 views

Fast, line-wise full text search for Unix directory structure

I am trying to create a GUI for searching through a large number of huge configuration files (approx 60000 files, each one with a size between 20 KByte to 50 MByte). Those files are also updated ...
3
votes
1answer
48 views

A way to map a folder in Windows Vista to fake drive?

I don't have a drive F, but I need to create a virtual. So i need to: Create a virtual drive F Map c:\xampp\htdocs to this new drive under: F:\htdocs I need to do this on Windows VISTA Is there a ...
2
votes
1answer
148 views

How to mount a folder as a virtual CD/DVD drive?

As a follow-up on my question VMware Workstation 8: how to fake a bootable USB stick? How can I mount a Windows folder as a virtual CD/DVD drive? That way, I could mount the folder as a virtual ...
1
vote
1answer
63 views

Why is the reported size of this directory in Windows (7) so inaccurate?

What you see below is two directories. The first, on the left, is the the original directory I was zipping up with 7-zip. It is reported as 4.26GB. On the right, we have how large the zip file came ...
0
votes
0answers
30 views

Do NTFS junction points get backed up by NTBackup on Windows 2003?

Like the title says, I'm wondering if NTFS junction points get backed up by NTBackup. If ever a hard drive failure was to occur on our server, I would be happier knowing that my junction points will ...
0
votes
2answers
118 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?
0
votes
2answers
22 views

Tool to create a patch that modifies/adds files within a directory structure

I have a set of files that need a set of changes applied to them. In this scenario I have a Java Application Server (distributed via a zip file) that I need to apply a set of known configurations to, ...
1
vote
2answers
53 views

Is it possbile to prevent a directory from being listed in Windows?

I'm using Windows Home Server 2011 and connecting to it with various Windows 7 version clients. Suppose I have a shared directory (or server folder) mydir on my WHS box which contains a subdirectory ...
0
votes
1answer
99 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 ...
3
votes
2answers
84 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 ...
0
votes
1answer
27 views

How can I change the color of a Putty session based on the directory I'm browsing?

I'm not interested in a definitive change of colors for Putty (or terminal), but in a color specific change based on the directory I'm currently browsing, especially to avoid big mistakes between two ...
2
votes
1answer
57 views

How to disable directory listing in the ColdFusion 8 built-in webserver?

I am using ColdFusion 8, and the built-in webserver as a development environment. In order to access sites hosted by the CF built-in webserver you put site directories in cf_root/wwwroot/ and can ...
0
votes
2answers
28 views

Linux: Show directory content as if it was a file?

I am a bit confused on what a directory really is. In various places I read that in Linux directories are just strings that keep the names of the nested files. In that case is there a way to show ...
1
vote
4answers
149 views

Fast large folder comparison utility on Mac (maybe Windows)

I am looking for a tool that could help me compare the contents of 2 big folders and detect what's changed in one of them (files added, modified, moved, copied) compared to the target. I also want to ...
1
vote
2answers
70 views

How can I find a specific file in a directory tree?

Could someone please help me to find all the *.c and *.h files in a directory tree??
0
votes
1answer
144 views

Windows 7 Explorer and 'dir' command apparently have *super* hidden files?

I'm writing a little script to help deal with my music library. During development, I encountered some unexpected files in my readout in certain artist folders along the lines of AlbumArtSmall.jpg, ...
1
vote
1answer
85 views

Ways to access directories with long path names under Windows

I have a NTFS partition shared between Ubuntu 10.10 and Windows 7, where I have created some directories with long path names under Ubuntu, which cannot be accessed by Windows. I wonder if there is ...
0
votes
1answer
62 views

Downloading an (apache) online directory locally using cli (wget …)

Not really a question this one - but alternative answers are certainly welcome! :) Sometimes I need to download files listed in an Apache directory listing, say as in: ...
0
votes
1answer
25 views

Should programs follow symlinks?

A program that recursively traverses a directory tree, needs to figure out what to do about symlinks (and/or junction points on Windows), to avoid going into an infinite loop when a symlink points to ...
0
votes
1answer
114 views

Setting CMD CD to the directory that the batch was run in

I'm trying to create a batch script that will open a program in a different environment (so I can make a portable version of it). I use this set APPDATA=%CD%\data to tell it to do that. The problem ...
0
votes
3answers
62 views

Can't seem to change directory - “No such file or directory” error using PuTTY

I am required to use PuTTY to submit a program but I have never used it before and am having a hard time changing my directory. I am successfully connected to a Linux computer from my own but can't ...
1
vote
3answers
194 views

Where are the user profile directories of Google Chrome located in?

Where are the user profile directories of Google Chrome located in? It may seem like a very simple question, but I couldn't find it. I checked inside %APPDATA%, but there were noting relevant there. ...
2
votes
2answers
338 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 ...
5
votes
4answers
368 views

What is the difference between forward slashes and backslashes in paths? [closed]

Possible Duplicate: Why does Windows use backslashes for paths and Unix forward slashes? What is the main difference between forward slash (/) and backslash (\) in reference to paths, both ...
0
votes
1answer
178 views

rsync - how to set/keep directory permissions?

I'm using CwRsync to connect from my Windows development machine to a linux webserver : rsync -avuz -e ./ssh --exclude=".svn" /cygdrive/c/xampp/htdocs/project123/ ...
2
votes
1answer
75 views

When are Unix directory permissions enforced

Say I have a directory that only root can access: $ sudo -s $ mkdir ~/rootonly $ chmod 000 ~/rootonly Inside that directory is one with global-everything permissions: $ cd ~/rootonly $ mkdir ...
0
votes
1answer
72 views

Windows 7 - How to make hidden files count when it comes to hard disk space?

I have noticed that hidden files do not count when I hover the mouse to see information on directory size, however hidden files get counted when I click on folder's "Properties". How do I make hidden ...
3
votes
2answers
24 views

directory listing is showing “+” sign

In one of my directory listing I get following output drwxrws---+ 7 sip sip 4096 Aug 5 13:25 USSDG I am the member of the group sip but I am not able to create any file if I ...

1 2 3 4 5