EzDevInfo.com

file-management interview questions

Top file-management frequently asked interview questions

Mass deleting files in Windows

I have a directory, that contains ~ 3 million files in certain subdirectories on a Windows 2008 server. Manually deleting the files via SHIFT+DEL on the root dir takes ages. Is there any other way to do the deletion in a faster manner?


Source: (StackOverflow)

How do I "cut" a file on OS X?

I'm a newbie on the Mac world and I'd like to know if it's possible to cut a file using a shortcut (like Ctrl+X on Windows).


Source: (StackOverflow)

Advertisements

How to disable automatic opening of PDF files in chrome [duplicate]

Possible Duplicate:
Stop PDFs from displaying inside Google Chrome

Chrome is opening the PDF files automatically and don't give option to save the file. How can i change this behavior?


Source: (StackOverflow)

How to preserve file attributes when one copies files in Windows?

On Linux, we can simply do:

cp -pr directory

How to do that in Windows? Can it be done in Windows Explorer? Any GUI tool suggestions?

It would be the best if I can keep the NTFS permissions and creation/modification/access time. At a minimum, I need to preserve the modification date for the files and the directories. Windows Explorer's copy does not preserve the modification date for directories.


Source: (StackOverflow)

How to set the default program for opening files without an extension in Windows?

How to set the default program for opening files without an extension in Windows?


Source: (StackOverflow)

How do I find the largest files and folders on a drive? [duplicate]

Possible Duplicate:
How can I visualize the file system usage on Windows?

I am looking for a tool to tell me which files and folders are the largest as I need to do some cleanup.


Source: (StackOverflow)

How can I visualize the file system usage on Windows?

How can I visualize which folders and files are taking up all of the space on my hard drive?

I'm getting some conflicting reports on the size of hard drive contents. Namely what is and isn't there and what folders are actually using the space.

I need to know which of the files or folders the culprits behind all this hidden bloat. Also there should be a print option to get it on paper.


Source: (StackOverflow)

Find duplicate files on Mac OS X

Is there an application that would search duplicate files in my Mac with an easy way to delete the duplicates?


Source: (StackOverflow)

Is there a tool that can determine the file type from containing data? [closed]

I sometimes get files from my clients that have the wrong file extension. For example, the name is image.jpg but the file is actually a TIFF image. In many cases I can clarify it by opening the file in a text editor, looking at the first few bytes, then deducing which file type it is.

This works for me with JPEG, TIFF, GIF and PDF files. However there are many more file types out there.

Is there a possibility to automate identification of the correct file type by analyzing the containing data?


Source: (StackOverflow)

How do I delete all files smaller than a certain size in all subfolders?

I have a folder with many sub-folders containing small tif files (less than 160kb) which have been merged together in bigger pdf files, together with some big multi-page tif files.

I want to delete all small tif files without deleting the bigger files (tif or pdf) and retaining the directory structure. How do I go about it on Linux using the command-line?


Source: (StackOverflow)

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 to copy or move a folder to somewhere it already exists, it asks to replace it. That would result in deleting the target. Rather I want to merge.

There's already a aquataskforce request about this, and it's a discussion going for a long time if it's even something that should exist on Mac, due to its whole philosophy. Discussions at Apple are outdated and didn't help much as well.

As usual, there are professional solutions for doing this, such as Changes and Araxis. And there is the rsync or command line alternatives. But I want a free and simple solution, something like how it is done in Windows or Linux. I won't be doing it much anyway. By the way, PathFinder don't have such option as well and FolderMerge doesn't work on Snow Leopard as far as my 1 test went.

Suggestions to whom may come up with a solution:

I think a good idea would be to move everything non-exact-duplicate to the same folder, and leave every duplicate behind. No confirmation is needed in this case, and I can easily check the duplicates later. If it's copying merge, then the target folder will contain everything, and the source will be rather untouched. Duplicate-check is just on the file name. Leave any more complicated thing to third parties.


Source: (StackOverflow)

How do I move files and directories to the parent folder in Linux?

In Linux (Ubuntu), how do you move all the files and directories to the parent directory?


Source: (StackOverflow)

Is there a way to batch rename files to lowercase?

I need a way to rename all files in folders and subfolders to lowercase.

I'd like to know if there is a way to do that using only windows (XP or 7)


Source: (StackOverflow)

Windows 7, file properties, date modified, how do you show seconds?

Anyone know a way to immediately show the seconds of a file's date modified property in the GUI? So if you create a file, any file in any directory, right-click and choose Properties, the date modified (if it's recent) will say something like "dd/mm/yyy hh:mm, one minute ago" - reminder this is in Windows 7. Windows XP did it normally. Then they changed something.

If you wait a while, eventually you'll see the seconds, I'm not sure how long a while is, but this is incredibly annoying if you want to troubleshoot something that relies on the seconds of timestamps... is there a setting? registry key I can change perhaps?

I'm literally using Chrome, pasting in the path of the directory to be able to see the seconds quickly (as a workaround) but would be nice to be able to use Win7.


Source: (StackOverflow)

Which duplicate files and folders finders exist for Windows? [closed]

I need a free duplicate file finder/remover app, with ability to find duplicate files/folders by name and/or by size and to remove one of duplicates.


Source: (StackOverflow)