1
vote
1answer
28 views

Show one folder's content in other folder

My question is about Linux. I have 2 folders - /home/user/first and /home/user/second. In the /home/user/first there are some files. The second folder is empty. What I want to do is to have ...
0
votes
1answer
22 views

Windows: Test if entry is a file or a folder

I Have to create 5 subfolders under every folder in a folder. This rootfolder contains files as well as folders. In this rootfolder are subfolders for our relations and we need to create 5 subfolders ...
0
votes
0answers
52 views

copy or move files and create folder with the original modified date

i was doing do a big mistake and move alot of files to 1 folder ( more then 15000) i want to make a batch file thet copy the files to a folder. the folder need to call by the modify date from the ...
0
votes
0answers
55 views

What does it mean by Inheritance in advanced security tab of a file or folder?

In windows 7 and 8 there is a option in folder or file's advanced security tab called enable or disable inheritance.What will happen if I enable or disable this option?What is by default for a file or ...
1
vote
2answers
364 views

Windows 7 - delete all files+empty folders with with specific extension recursively

I have tried to follow the advice here: Need to delete all the files with one extension on a drive in Windows 7 But if I want to delete all files in a specific folder, with a specific extension, that ...
0
votes
0answers
37 views

In Windows 8 large folders create themselves in my home/user directory every day

I am in Windows 8 and I have a user directory named "Fred". Everyday I find folders named stuff like 0 1 2 3 4 5 6 7 8 9 a b c d e f Inside these folders you have more folders named like that and ...
0
votes
0answers
79 views

Robocopy From Folder A - Only differences between Folder A and Folder B, to Folder C?

I have a system setup where 2 folders on separate drives / locations are normally mirrored via DFRS. This works perfectly and I have no issues with this. However, the system that owns these files (a ...
0
votes
1answer
53 views

What does /opt mean in a filepath?

I see so many file paths that have /opt in them from example code. Like this one: :staticfiles => "/opt/example/apps/example/static/" I would understand if it were something like home, but I ...
4
votes
1answer
72 views

How to see if a folder contains a file at a glance?

I have a directory in Windows containing many folders. I have to place one file in each folder, so I'd like to see at a glance if each folder contains a file. I tried enabling 'File Count' (see below) ...
0
votes
1answer
66 views

Does the Windows-folder contain personal files?

I'm currently going through hard drives of my previous computers (Win 98 through Win 7). The goal is to identify personal files, communication, or programs to keep before I throw away the drives. ...
0
votes
0answers
40 views

Modified times of folders

How does the inheritance and propagation of modified times happen? In order to better put my question, I am going to list three examples: A folder has three files. One file gets modified (by any ...
-2
votes
1answer
3k views

Delete files older than 7 days in folder and its subfolder [duplicate]

I need to have a windows batch file which does delete all files which are older than 7 days in a folder and its subfolders without deleting any folders.
0
votes
2answers
66 views

What does the * mean next to a filename in the ouput of the command ll? [duplicate]

I have a doubt related the output of ll command. When, in my shell, I execute the ll command I obtain this output: -rwxrwxr-x 1 andrea andrea 104215 ott 15 15:56 atmosfs* Why I have the * next to ...
-2
votes
1answer
96 views

Bash- how to select a directory based on the number of files it contains

I want to select all the subdirectories in a given folder that have a certain number (in this case, 75) files within them. Then I want to take the name of each of these subdirectories and assign it a ...
0
votes
1answer
365 views

Script for modify file content in specified files

I tried searching previous questions but none worked or I couldn't adapt them to my needs I want to write a script that asks for: folder criteria old string new string And replace every file in ...
1
vote
2answers
1k views

Can having too many folders slow down a computer?

Someone on a non-technical forum recently told me that storing files nested in too many subfolders can slow down a computer. Is this at all true? It kinda makes sense, since the computer would have a ...
0
votes
0answers
42 views

Want to compare a Flat File Sync Folder to original Sub-Foldered Folder

This may be a bit of an edge case, hence why I'm having so much trouble. I have a scenario (not worth explaining) where I need a folder's contents sync-ed to another folder but as flat files (so it ...
1
vote
1answer
563 views

In Windows XP Professional, is there a limit on the number of files that can be contained in a single folder? [duplicate]

I am running Windows XP Professional, service pack 3. Right now I have 4,398 files in a single folder, and Windows XP seems to read it fine. How many more files can I place in this same folder, ...
0
votes
0answers
36 views

How can I un-concatenate a bunch of files?

I accidentally made a backup of folder using "copy folder folder_backup" and got a file called folder_backup. It contains all the bits of the folder. And I accidentally deleted the folder. How do I ...
0
votes
2answers
475 views

Bash - Recursively move all files in folders with given name to their parent directory

I have a document library where all of my files are in folders based on category name but then they are also all in subfolders called 'pdf' as well. Is there a way in bash to scan through all of the ...
0
votes
2answers
36 views

In windows looking for a filtered directory

Imagine a large number of files, organized in folders (thousands of folders)...there are multiple types of files in each folder (PDF, ZIP, DOCX, etc.). I'm looking for a tool that can show the ...
0
votes
1answer
49 views

How to I setup a folder to pass files on without holding them?

Is it possible to create a folder where Whenever a file is placed in it, the file is automatically copied to another specified location and then the original file is deleted? What I'm trying to do ...
1
vote
0answers
2k views

How to delete “Program Files” folder in Windows 7

OK ... here is the deal ... I replaced my current drive C with a brand new drive and installed Windows 7 on the new drive. I took the old Drive C: and added it to a different SATA port and made it ...
1
vote
0answers
221 views

Windows Directory Structure

I couldn't find a Windows stack exchange so I am asking this here. I know how a *nix directory structure is set up and how directories are pretty much just lists of files. I can open them with a text ...
0
votes
0answers
37 views

Are there File Managers where I can show connections between files in the same directory?

Without creating new directories, is there a file manager that can illustrate relationships between files/folders in the same directory? For example, I would like to turn something like this: ...
0
votes
3answers
323 views

Binary/Hash comparing files in different locations while ignoring folder structure in OSX

I need a way to compare files in two different sets of locations, preferably in a way that is a little more thorough than just the file name. We recently got a new NAS for the office and have been ...
4
votes
1answer
5k views

How can I use tar command to group files without compression?

I have a very large folder of 120,000+ files. and I need to move them to another location on my same machine (same partition). I'd like to use the tar command to group them up as a single unit and ...
-1
votes
2answers
889 views

How do I keep my files and folders unlocked in Windows 7?

My IDE is getting a frequent problem of failing to delete temporary or scratch files from the disk it is working on and the reason is the files and folders it is working on are being locked by itself ...
2
votes
1answer
509 views

Whatdoes the $ sign mean when part of a file or folder name?

I have folders that start with a $, like $Recycle.Bin, and folders that end with $, like C$. Are these network shares? Then again often I see files that otherwise look like dupes of files in the ...
1
vote
1answer
268 views

WIndows 7: would like recursively check a directory for changes to files and folders since my last visit - not in realtime or by monitoring

I have found varieties of this question. Most of them fall under monitoring and others are said to be buggy. A continuously monitoring program won't help me and neither will a list of the most ...
1
vote
2answers
472 views

Find folders with only one file

I need to find and delete all folders within C:\parent which contain only one file. The folder structure is flat (no subfolders): C:\parent\folder1\file1 C:\parent\folder1\file2 ...
2
votes
1answer
76 views

GUIs treat /tmp as a file

A friend was having trouble using cp to copy a disk image (a sparsebundle to be precise). I figured out that the line he was using copied all of the /contents/ (sparsebundles are packages, i.e. ...
1
vote
1answer
291 views

Concatenating many files into one

I currently have this command: copy /b *.txt newfile.txt But I want to include all files with folders as well. How can I do this? Is it possible to add this to Apache Ant as well? I also ...
2
votes
2answers
801 views

chmod: Set files to different permissions from directories

Is there away that I can run chmod to set the folders at 0755 and the files at 0644, or do I have to apply 0755 to all folders individually?
1
vote
3answers
1k views

BASH: Need if statement to run a task only if number of files in the directory are greater than 1

I want to write a script, but I want an if statement so it will run only if the number of files in the directory are greater than 1. Is this possible?
0
votes
2answers
289 views

Search for exe file within a condition

I want to search for all .exe files greater than 200 kB or smaller than 120 kB in the current folder and its subfolders. Then I want to move them to another folder called "folder" and execute in this ...
2
votes
1answer
268 views

Permissions, Rights & Privileges

I only have the privileges of a normal user on a Windows environment (XP). I would like to ask the following questions. (1) Are any/all attempts to access a log file(text) logged somewhere ? (2) Are ...
1
vote
1answer
571 views

Is there a way to lock folder and all files inside for specific time?

Is there a way / tool to lock folder and all files inside for specific time to prevent any other program on PC to perform any actions? Something like anti-Unlocker tool for Windows. I use Windows ...
2
votes
1answer
183 views

What command sequence can I use to delete directories but not their files?

How do I delete directories but not the files inside them? I have tried the following: rm -di /Users/arthur/Desktop/MyFolder remove /Users/arthur/Desktop/MyFolder? y rm: ...
3
votes
1answer
96 views

Save File & Directory Hierarchy

I have a folder like: Folder --Sub Folder 1 --Sub Sub Folder --subfile.htm --subfile1.txt --subfile2.xlx --subfile3.doc --subfile4.ppt --Sub Folder 2 --file1.xlsx --file2.xlsx I want ...
4
votes
5answers
14k views

What is the extension of a folder in Windows?

Windows recognizes files using extensions. Does same applies to folders ? Is there a special extension that mark a file as a folder ?
1
vote
3answers
2k views

wget - download all files but not preceding folders

I'm using wget to download all files from within a folder using the -r and -np options. However this also downloads the preceding folders, which I don't want. For example: wget -r -np ...
2
votes
6answers
5k views

How to list all files on all hard drives with output in MS-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 ...
1
vote
1answer
385 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 ...
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 ...
1
vote
1answer
268 views

Search for all windows folders containing a single file (as opposed to 2+ files)?

Kind of an odd parameter, but it would be useful if I could run a search that returned only folders that contain a single file. Folders with 2 or more files don't get returned. Can this be done in ...
5
votes
3answers
720 views

Tool for getting a complete directory/file listing with detailed information including hash(es)

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 ...
3
votes
2answers
1k 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 ...
1
vote
0answers
626 views

File & Folders Label tool in For Windows

I'm looking for tool that allows me to mark folders & Files in Windows .. I found this app but it's buggy and not working on Windows 7 64x. http://eng.softq.org/badges.htm Please is there ...
1
vote
3answers
2k views

Find missing files from multiple backups, regardless the folder location

I have 6 backups of my PC wasting a lot of space, on an external hard disk, because all of them are full backups (not incremental) of my PC, meaning that the majority of the contents are duplicated ...