file-management interview questions
Top file-management frequently asked interview questions
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)
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)
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 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)
Is there an application that would search duplicate files in my Mac with an easy way to delete the duplicates?
Source: (StackOverflow)
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)
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)
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)
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)
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)
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)