4
votes
2answers
5k views

How do I move files out of nested subdirectories into another folder in ubuntu? (Trying to strip off many subfolders)

How do I move files and not directories into another folder/parent folder? I have a folder structure that is extremely ugly, with some .mp3 files buried 6 levels deep in a sub-folder. I want to ...
1
vote
1answer
642 views

Automate directory tree creation based on date

Hi and thanks in advance. I'm new to batch scripting and would like to perform the following action daily in my server. I need to make sure the directory path year/month/day exists in a given ...
0
votes
1answer
378 views

Windows 7 Folder-Merge function for XP

Is there a way (program?) that can let you safely merge two folders in Windows XP? Obviously this can be done manually by opening the source and destination folders and moving everything, selecting ...
1
vote
2answers
178 views

Adding more than one folder at once to the Music Library in Windows Media Player

I was adding folders to Windows Media Player Music Library (via Manage Music Library) and since I have too many music folders, I wondered if there is a way to add them all at once to the Library. It ...
0
votes
0answers
38 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: ...
3
votes
1answer
125 views

Convention on directory of file outside /var/www

By /var/www I am generically referring to the document root for Apache. Often times you want to work with files, but don't want them inside the doc root (PHP examples come to mind). The general ...
0
votes
1answer
669 views

How can I move files between folders and subfolders using a Windows script?

I am moving .jpg files from a directory and its subdirectories on a daily basis and then deleting them. To make this easier I created 2 batch files: One that moves the files and one that deletes them. ...
0
votes
3answers
511 views

Using the ls -l with a pipe how can i get it to display the 8th file in the list without the file details

I am looking to display the 8th file name in a directory using ls -l and pipe for example ls -l | wc -1 would give me the count but what i want to have returned is the 8th file name in the directory ...
8
votes
2answers
2k views

windows folder with millions of files not responding

I am using windows 7 64-bit on q6600 with 4gb ram. I have a folder with 2 million files which are 10kB on average. windows 7 explorer stops responding when I open the folder. how can I overcome ...
0
votes
2answers
2k views

Looking for batch automation program to reorganize/move/sort files into a new folder/directory structure based on file name content (Windows)

I have music files that already have artist name and title in the file name. However the files are currently not well organised in folders. I don't require audio-fingerprinting. Is there a program ...
2
votes
1answer
248 views

Move Folders Containing Certain File

I'm trying to sort out a bunch of folders in Windows 7. I have a bunch of folders and some contain a file index.txt and some don't. What I want to do is move the folders that do have index.txt into a ...
3
votes
1answer
643 views

Custom attributes for files/folders in Windows 7 possible?

Is there any way to tag folders/files in Windows 7 with custom attributes, that would be applicable to any file format (not stored within a file)? For example, to create artificial folders (allowing ...
2
votes
2answers
399 views

Opensource duplicate finder for directories?

Is there an open source tool that will tell me if two directories have byte-for-byte identical content? I need a tool that confirms if two directories are the same. A listing of files that I need to ...
1
vote
2answers
2k views

How can I merge two directories in Windows and have the result contain the most recent files and directories?

I believe this question to be very simple however I want to triple check before I screw myself up. My testing has shown this process to work (I think, but I may be missing something) but again I'd ...
4
votes
3answers
654 views

A streamlined method to organize files and folders?

I realize that users here are very savvy and I'm looking for a better way to organize my files. Currently I have two very important folders that are filled up with a ton of files which makes it super ...
2
votes
2answers
4k views

How Can I Create a NTFS Directory Redirect in Windows 7 Enterprise?

I am using DeepFreeze to keep my C:\ drive from getting corrupted, but I need the "C:\Users" directory to be redirected (like a virtual directory or alias) to "D:\Users" so that basic changes to user ...
0
votes
2answers
242 views

Start menu management in Windows 7

1) I still have folders for programs I have uninstalled, and inside are links to files that aren't there ay more. How do I get rid of them? 2) How to make the menu open in the "all programs" mode so ...
0
votes
2answers
644 views

Linux: Create mirror of directory, but ignore deletions

I would like to create a directory public_html/archive that is a mirror of public_html/images, except that deletions in the images directory don't cause corresponding deletions in archive. I was ...
2
votes
2answers
369 views

How can I find all folders in Folder A that does not exist in Folder B?

I have lots of folders in D:\FolderA and at some point most (but not all) of the folders where copied to D:\FolderB. What is the best way to list all the "missing" folders in FolderB?
0
votes
3answers
122 views

How can I find out the size of all the pdfs in a directory?

I have a folder with multiple subfolders. In Windows 7, I'd like to be able to find out the total size of all of the pdfs (files with extension .pdf) in that folder. How can I do this?
6
votes
4answers
5k views

I Want a Single “Downloads” Folder on Windows 7

With both of my Windows 7 machines, there is a Downloads folder in the user's directory, and also a Downloads folder in the user's My Documents folder. It seems that half of my applications put ...
2
votes
5answers
6k views

Copy directory structure without copying files, on Mac OS X

I'd like to duplicate the directory structure in some directory to another, without copying any actual files. In place of the files, I'd like either a blank file with the same name, or a symlink to ...
1
vote
2answers
398 views

Prevent rmdir -p from traversing above a certain directory

I hacked together this script to rsync some files over ssh. The --remove-source-files option of rsync seems to remove the files it transfers, which is what I want. However, I also want the directories ...
2
votes
2answers
230 views

Application that arrange files in the whole computer

Do you know of any application that works like this: Allows you to create folders where the files in number 2 will be placed. Allows you arrange all/any of the files in the computer according to ...
38
votes
6answers
59k 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 ...
1
vote
2answers
2k views

How to remove a directory which looks corrupted

I am using Ubuntu 9.10. When I examine a directory, it shows as '?' for user/ownership. How can I remove it? -rw-r--r-- 1 hap497 hap497 1822 2010-01-28 22:48 IntSizeHash.h d????????? ? ? ...
2
votes
2answers
4k views

Windows 7 - Move only files of a given extension while preserving folder structure

I'm trying to move only a certain type of files, *.txt, from their current location to another folder. I know that can be done in Windows Explorer with the search feature + drag and drop. However, ...
3
votes
3answers
11k views

Script to create folders in multiple directories using YYYYMMDD date as the folder name

At work every morning I have to create multiple file folders (using a YYYYMMDD date format as the file folder name) in different directories across our network for various departments. This is a real ...