Tag Info

Hot answers tagged

21

You are asking the wrong question. A folder is simply a logical construct on a filesystem. A more appropriate question to ask is what filesystem/storage mechanism (which allows folders). There are probably lots of answers to this question - they will all involve encryption. A good, free, cross-platform answer is "Truecrypt". Truecrypt will allow you to ...


2

Encryption comes with Windows and one of the "features" is that losing OS means losing data, unless you backup your recovery key. So all you need to do is to right click on folder and select Properties -> Advanced -> and check "Encrypt contents to secure data", include subfolders and files. One of the advantages is that you don't need to remember another ...


2

The following moves every file from a pdf folder into the parent directory. find ~/some/folder -type d -name 'pdf' -print0 | while IFS= read -d '' dir do find "$dir" -type f -maxdepth 1 -exec echo mv -- {} "$dir"/.. \; done Remove the echo once you're sure it does what you need. Note that this will overwrite files without asking when the parent already ...


2

Daniel’s answer is correct. Here are some useful additions, though. To avoid listing hidden folders (like .git), try this: find . -mindepth 1 -maxdepth 1 -type d \( ! -iname ".*" \) And to replace the dreaded dot slash at the beginning of find output in some environments, use this: find . -mindepth 1 -maxdepth 1 -type d \( ! -iname ".*" \) | sed ...


1

I have had success with this method: Search for message (or other document). Use the normal quick search, searching for "all files and folders" Open the message/document (double-click) With the message open in i separate Window: Hit Ctrl+Shift+F to open Advanced Search. Advanced Search will open with the folder of the open message selected. Click Browse ...


1

Here is what I thought of. Its not the prettiest thing, but it works to your specifications: find . -ipath "*pdf/*.pdf" -type f -print0 | xargs -0 -I{} sh -c 'mv "{}" "$(dirname "{}")"/..' It moves only .pdf files in pdf subfolders into their corresponding parent directories. To change the command to move all files in pdf subfolders, adjust the ipath ...


1

It sounds like the virus may have damaged Windows. Open up an administrator command prompt. if you dont know how, click Start, then enter in the Run box cmd and hold down Ctrl+shift+Enter. In the command prompt type sfc /scannow. This command will have windows check all its files and replace them if they are damaged.


1

Try to re-enable the built-in support for zip archives, as described here: http://codesociety.com/2009/07/27/disable-zip-folders-in-windows-7-vista-xp/ If you're using Windows Xp, you must: Go to Start Menu -> Run. paste the following command and press enter: regsvr32 %windir%\system32\zipfldr.dll Restart Windows and return to a life bound by zip folders! ...


1

In linux you can use ln command to create symbolic link, but in windows you have to use mklink command to create symbolic links: MKLINK [[/D] | [/H] | [/J]] Link Target /D Creates a directory symbolic link. Default is a file symbolic link. /H Creates a hard link instead of a symbolic link. /J Creates a Directory ...



Only top voted, non community-wiki answers of a minimum length are eligible