2
votes
2answers
53 views

Cannot delete folder or files inside

I have a rather strange problem. I have encountered a folder with a file in it, that I can neither see or delete. This is, I believe, a rootkit and I am desperate to get it off my machine. I am logged ...
1
vote
1answer
25 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
17 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
32 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
25 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
115 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
28 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
61 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
45 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
65 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
60 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
36 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
2k 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
57 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
78 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
862 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
36 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
391 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
35 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
0answers
23 views

How to track file/directory changes? [duplicate]

I want to auto-track the changes made in files/directory in Windows 7. In more details, I need a tool to work as diff tools, where automatically with each file system change ...
0
votes
2answers
393 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
35 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
48 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
1k 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
176 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
288 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 ...
3
votes
1answer
4k 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
1answer
749 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
347 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
223 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
416 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
73 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. ...
0
votes
1answer
196 views

Browse for folder dialogs only showing user directory

I've recently noticed several applications where any "Browser for folder" dialogs they generate only show "Desktop" and my user directory. They don't even show the folders on my desktop, just the ...
1
vote
1answer
277 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
718 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
898 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?
1
vote
2answers
91 views

Is it possible for a directory to get unlinked while its contained files remain?

I used to wonder why deleting directories via PHP or shell wasn't as easy as it was in Windows with just clicking delete. I realize now that deleting is simply unlinking files from the file allocation ...
0
votes
2answers
271 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
255 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
522 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 ...
0
votes
2answers
2k views

How do I recursively delete all files or folders whose names match a pattern in Windows?

For the file example, I would like to delete all files matching .+?[a-f0-9]{4}.html (i.e. any html file ending in a four digit hexadecimal). So paged47c.html would be deleted, but page.html would ...
2
votes
1answer
176 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
87 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
12k 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
4k 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
348 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 ...
26
votes
5answers
36k 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 ...