# Tag Info

27

OS X's tar uses the AppleDouble format to store extended attributes and ACLs. $touch file1 file2 file3$ xattr -w key value file1 $chmod +a 'admin allow delete' file2$ ls -le@ * -rw-r--r--@ 1 lauri staff 0 May 25 07:09 file1 key 5 -rw-r--r--+ 1 lauri staff 0 May 25 07:09 file2 0: group:admin allow delete -rw-r--r-- 1 lauri staff 0 May 25 ...

16

You can use this (it does not match files with a single letter after the '.') du -shc .??* * wikipedia also mentions a regex style usage which should work for every file/folder name du -shc .[!.]* *

13

I found a nice little AutoHotKey Script at How-To-Geek.com which allows you to simply press "Win + H" to toggle showing Hidden Files. I use it myself and it works extremely well on my Windows 7 PC. And because it's small on memory (508 Kb), I have run at Windows start-up. Have look at it: ...

11

The folder's properties will do it for you: You can also use dir along with find from the command line: dir /a-d /s /b folder_name | find /c ":"

9

You can use a simple vbs script that will toggle between showing & hiding your hidden files and folders. I've tested this method on Windows 7 32-bit only. ' Script to toggle Windows Explorer display of hidden files, ' super-hidden files, and file name extensions Option Explicit Dim dblHiddenData, strHiddenKey, strSuperHiddenKey, strFileExtKey Dim ...

9

In a terminal: To list all files in the current directory and all sub-directories: $find . To search for a file by name in the current directory and all sub-directories:$ find . -name <file_name> Or to search in all files in the current directory and all sub-directories for a particular string: \$ grep -R "<string>" *

8

Well, I know that there is utilities to do this, but I can't recall the name right now... But my Google-Foo, is working today... > cd /Volumes/your\ target\ volume sudo > touch .metadata_never_index This hidden file is recognized by both Leopard and Snow Leopard (Possibly Tiger too). But it will not stop a spotlight index that is currently being ...

8

Not all of these files are created by default, some are only made when you access the directory with a particular application, but a quick explanation of them: .com.apple.timemanachine.donotpresent - Disables the Time Machine dialog which asks you if you'd like to use that specific disk for backing up data. .DS_Store - Created by Finder when you open a ...

7

These files and directories are created by various applications: .DS_Store - Created by Finder when you open a directory. It stores information about the folder (view options, icon positions, etc). .fseventsd - created by the fseventsd daemon. It contains data about file system events such as modifications, deletion, creation, etc. .Spotlight-V100 - ...

7

NTUSER.DAT is the user's registry hive and should not be touched. The others sound like transaction logs and backups. You might be able to remove them after a reboot. If not then leave them alone.

7

Vim should work pretty well if you change a couple settings to turn off swap space and undo functionality: http://vim.wikia.com/wiki/VimTip611

7

Files which start with a '.' are hidden files. I don't know of a standard to use the '#' on certain kind of files. I've seen it on "backup" files generated by text editors. To display the contents of a file use the "cat" command: cat .#netMHC3.2.py '.' and './' are the current directory in which you are working (use pwd to know where you are).

7

To check: ls -l /path/to/folder/or/file or for more verbose output: stat /path/to/folder/or/file To change owner: chown someuser:somegroup /path/to/folder/or/file To change permissions: chmod 755 /path/to/folder/or/file man chown and man chmod will give you explanation about the various options. Or, if you are using some graphical ...

7

Try using the pendrive on a Linux computer. Not only will Linux ignore most viruses that are on the drive, but also see all files regardless if they are hidden. It actually sounds like your computer has a virus, not just the thumb drive. You should see the question: Computer is infected by a virus or a malware, what do I do now?

6

At the bottom of your screenshot, a link is shown... "remove properties and personal information", it allows you to remove that information. Any residual owner information is not stored within the file and won't be shared when sharing your file on the internet or so. It is only used to manage permissions on your local system.

6

(Upfront caveat: this isn't a perfect answer to your question, but it seemed useful/interesting enough to share.) If you save the following text to a file with an extension of .bat or .cmd (e.g. runconditional.cmd): @echo off if %~z1 LSS 1048576 ( notepad.exe %1 ) else ( c:\my\path\to\notepad++.exe %1 ) ...then you should be able to use it to ...

6

Open a Terminal and enter: defaults write com.apple.finder AppleShowAllFiles TRUE Then, relaunch Finder by typing: killall Finder To reverse that, just enter: defaults write com.apple.finder AppleShowAllFiles FALSE

5

The problem here is that the files you are referring to have no equivalent in the Windows world. 2009-11-24 14:38 Folder Folder AG Book Rounded map 2009-11-24 14:38 0 0 AG Book Rounded map\AG Book Rounded 2009-11-24 14:38 Folder Folder __MACOSX 2009-11-24 14:38 Folder Folder __MACOSX\AG ...

5

For Windows: Wordpad can open files hundreds of Mbs in size. This is one, already present in your system, possibility. Notepad++ has similar functionality, it also has a new setting since version 5.0 that limits smart highlighting to files under 1.5 Mb. For Mac: I've been opening 50Mb files in TextMate. I can probably open much larger ones. ...

5

As you have found, Audacity is available for Mac OS X. I answered a similar question for another user here on dividing tracks with some screen shots, which might help you with understanding it: MP3 Slice Repetitive Lines. In essence, you can click and drag to select parts of the tune, then paste and save into a new track. It is well worth investing a bit ...

5

If I understand you correctly, you are accessing the file via a network share, even though the file is actually located on your computer. If that is the case then the move procedure does not know that the source and destination are on the same partition and will use the slower method.

5

I discovered that in Outlook 2010 you cannot change the storage of IMAP accounts by conventional methods. My solution was to move the Outlook folder (C:\users\<user>\Local Settings\Microsoft\Outlook) to my desired location (D:\Outlook), open command prompt (in administrative mode), navigate to C:\users\<user>\Local Settings\Microsoft and create ...

5

Process Monitor from Microsoft's SysInternals team should do what you need. From the site: "Process Monitor is an advanced monitoring tool for Windows that shows real-time file system, Registry and process/thread activity." Note: Process Monitor is a different utility to the excellent Process Explorer from the same authors.

5

The quickest way might be to change the registry setting directly. Make two REG files, one for each setting, and run those. You could write a small batch file that would speed things up even more by running the REG files with no confirmations. Here's a REG file that disables showing hidden files: REGEDIT4 ...

5

"Ever wondered which program has a particular file or directory open? Now you can find out. Process Explorer shows you information about which handles and DLLs processes have opened or loaded." http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx

4

I think the only safe way to do this would be to un-install your applications and then re-install them on the D: drive, although core Windows files will still be written to the C: drive (assuming you have Windows installed to the C: drive) This probably isn't what you wanted to hear. I'm not aware of a program that would be able to do this for you as it ...

4

The way you describe it it sounds like your issue is that you cannot login as root via ssh (probably you used some sort of su or sudo to work as root). If root can in principle log in via ssh, but you do not know the password, you can set up root's account to allow public-key authentication with your key. If that is not possible copy that file to a ...

4

lsof will list open files and associated process IDs. It lists everything if no options are given. There is an option, -p, to list open files for a single process. So for a process with PID 6714 this will list the files opened by that process: lsof -p 6714 To list only regular files grep can be used to filter the output of lsof: lsof -p 6714 | ...

4

I don't know if this is the best approach, but the following command does what you want and lists you all files and directory entries for which duplicate case insensitive names exist: find /path/to/check -type f -o -type d | tr A-Z a-z | sort | uniq -d What it does is, find all files and directories in /path/to/check, makes the output lowercase, sorts ...

4

This postscript driver is trying to place the file in: c:\Users\Jerry\temp Note: i don't know why it's trying to place it in your temp folder - that's the fault of the print driver. But the process, that is doing the printing, has been marked as Integrity Level: Low. This means that the process is very limited in what it is allowed to do on the computer. ...

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