Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

dot_clean(1) [osx man page]

DOT_CLEAN(1)						    BSD General Commands Manual 					      DOT_CLEAN(1)

NAME
dot_clean -- Merge ._* files with corresponding native files. SYNOPSIS
dot_clean [-fmnsv] [--keep=[mostrecent|dotbar|native]] [dir ...] DESCRIPTION
For each dir, dot_clean recursively merges all ._* files with their corresponding native files according to the rules specified with the given arguments. By default, if there is an attribute on the native file that is also present in the ._ file, the most recent attribute will be used. If no operands are given, a usage message is output. If more than one directory is given, directories are merged in the order in which they are specified. OPTIONS
-f Flat merge. Do not recursively merge all directories in the given dir. This is off by default. -h Help. Prints verbose usage message. -m Always delete dot underbar files. -n Delete dot underbar file if there is no matching native file. -s Follow symbolic links. This will follow symbolic dot underbar files when they are found. -v Print verbose output. --keep=mostrecent The default option. If an attribute is associated with a data fork, use that. Otherwise, use information stored in the AppleDouble file. Note that the native fork's data is preferred even if the data in the AppleDouble file is newer. --keep=dotbar Always use information stored in the AppleDouble file, replacing any extended attributes associated with the native file. --keep=native Always use the information associated with the data fork, ignoring any AppleDouble files. EXAMPLES
The following is how to do an dot_clean merge on the mounted volume test, always using the dot underbar information. dot_clean --keep=dotbar /Volumes/test DIAGNOSTICS
The dot_clean utility exits 0 on success, and >0 if an error occurs. BUGS
None known. BSD
Sept 27, 2012 BSD

Check Out this Related Man Page

FIXUPRESOURCEFORKS(1)					    BSD General Commands Manual 				     FIXUPRESOURCEFORKS(1)

NAME
/System/Library/CoreServices/FixupResourceForks -- Join AppleDouble files into two-fork HFS resource files. SYNOPSIS
/System/Library/CoreServices/FixupResourceForks [-q[uiet]] [-nosetinfo] [-nodelete] path ... DESCRIPTION
FixupResourceForks is to SplitForks what matter is to antimatter. Given one or more directories that reside on an HFS or Extended HFS ("HFS+") volume, it scans those directories for AppleDouble files and, if found, rejoins them into two-fork resource files. The resource fork data can then be accessed with normal Carbon Resource Manager calls, be processed with DeRez(1), and accessed from the POSIX file system interface through the ..namedfork/rsrc path mechanism. /System/Library/CoreServices/FixupResourceForks takes the following flags and arguments: -q[uiet] Suppress verbose diagnostics to standard output. -nosetinfo Do not set file system metadata (type, creator, flags, permissions) from the data in the AppleDouble file. -nodelete Leave the AppleDouble files in the directory after copying their resource data into the resource fork of the main file. path ... One or more directory paths. Note that FixupResourceForks only acts on entire directories, not in individual files. FILES
foo Data fork of file 'foo' NOTES
SplitForks will fail with error 2 if the designated file is not on an HFS or Extended HFS file system volume. SEE ALSO
FixupResourceForks(1), MvMac(1), CpMac(1) STANDARDS
Consult RFC 1740 for details on AppleSingle/AppleDouble formats. Mac OS X April 12, 2004 Mac OS X
Man Page

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to display directories recursively?

Cannot find how to list the directory structure of a volume recursively. Do not want the files reported. Say I have 100 directories and 10,000 files, I do not want 10,000 lines of output. (If this is relevant, I am using the terminal on my OSX Mac). I hope this is easy - there should be an easy... (5 Replies)
Discussion started by: jwriter
5 Replies

2. Shell Programming and Scripting

compare 2 files > output new to third

Hi, I have a question of comparing to files and output the result third file where file1 is the mainfile containing processed dir data and 2nd file grepīs dirīs data again (could be newer dirs comparing file1<file2) now i wanna make shure that output in file3 only contains newer dirs hx... (1 Reply)
Discussion started by: needle
1 Replies

3. Shell Programming and Scripting

Copy only files recursively

Hi, find . | xargs -s 47518 can list all the files and directories recursively , is there any possibility to copy only files from directories and subdirectoreis once it is listed. Please help Thans & Regards Uma (3 Replies)
Discussion started by: umapearl
3 Replies

4. Shell Programming and Scripting

Merging two files with same name

Hello all, I have limited experience in shell scripting. Here goes my question: I have two directories that have same number of files with same file names i.e. consider 2 directories A and B. Both directories have files 1.txt, 2.txt...... I need to merge the file 1.txt of A with file 1.txt... (5 Replies)
Discussion started by: jaysean
5 Replies

5. Shell Programming and Scripting

Delete chars after dot "."

Hi, I require to delete all characters after a dot "." from a string. For e.g. input_var="/home/dips/file_1_20100726.txt.gz /home/dips/file_2_20100726.txt.gz /home/dips/file_3_20100726.txt.gz" output_var="/home/dips/file_1_20100726 /home/dips/file_2_20100726... (3 Replies)
Discussion started by: dips_ag
3 Replies

6. Shell Programming and Scripting

How to list all files in dir and sub-dir's recursively along with file size?

(0 Replies)
Discussion started by: nmakkena
0 Replies

7. UNIX for Dummies Questions & Answers

Help with retreiving files' information stored in different directories.

Dear All, I have a question. I have similarly named files stored in different directories and I'd like to retreive information from them remotely to perform other tasks. For example given: Folder 5 has files S5_SK1.chr01 S5_SK1.chr02 ....... Folder 6 has files S6_SK1.chr01 ... (3 Replies)
Discussion started by: pawannoel
3 Replies

8. Shell Programming and Scripting

help me

four files are present in four different directories contain similar datas,the names of the files are same as f1. i have to merge both the files and all the merged datas should be present in the one file name as f1 itself. (1 Reply)
Discussion started by: subhash_111284
1 Replies

9. Red Hat

(.) at the end of file attribute.

Hi Linux Experts, I am using RHEL 6.4, on checking I identified some files ends with the file attribute like dot (.) at the end. Whereas, I checked with the same level of other servers and I don't identify dot(.) at the end of file attribute. Why is it so? is there any meaning for it. ... (3 Replies)
Discussion started by: gsiva
3 Replies

10. Android

AndroidX: native X applications for Android

Project closed. (1 Reply)
Discussion started by: qzxcvbnm
1 Replies