Having a Macbook with limited space, I purchased a portable SSD drive to keep my bigger files on, and my Dropbox folder. This works for the most part, however I noticed that when I migrated to the file system on this portable ssd, that I now had THOUSANDS of. files, essentially a 1to1.
Oct 23, 2017 - My Dropbox app srat indexing all the file, everytime I restart my Mac since I updated my Mac to High. We do support the new APFS file system. Dropbox for Mac is a convenient cloud storage system that lets you access your files on any computer with an Internet connection. Installing the app is quick and easy, and you can set up a free.
to real file/folder. So if I had picture.jpg before, I now additionally had.picture.jpg 0 byte file as well. Doing some research I found that this had to do with the Mac working with a non-mac journaled file system and creating these files for a reason that I forget now.
So I started deleting these files folder by folder, but this was going to take forever. I have tons of website templates, backups, websites. Literally thousands of tiny little files, now with these pesky. shadows. So I had to find a way to remove all these files.
My solution is listed as an answer below, which I provided on the dropbox community page. But I wanted to put this item here to see if anyone had a better way of accomplishing this task. The macOS operating system includes the dotclean command, which services the problems described in your question.
The man page from macOS 10.13.3 (High Sierra) is given below. DOTCLEAN(1) BSD General Commands Manual DOTCLEAN(1) NAME dotclean - Merge. files with corresponding native files. SYNOPSIS dotclean -fmnsv -keep=mostrecent dotbar native dir. DESCRIPTION For each dir, dotclean recursively merges all. files with their cor- responding 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.
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 Apple- Double 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, ignor- ing any AppleDouble files. EXAMPLES The following is how to do an dotclean merge on the mounted volume test, always using the dot underbar information.
Dotclean -keep=dotbar /Volumes/test DIAGNOSTICS The dotclean utility exits 0 on success, and 0 if an error occurs. BUGS None known. BSD Sept 27, 2012 BSD.