cancel
Showing results for 
Search instead for 
Did you mean: 

dot underscore files on OS X through WebDav

sud0n1m
Champ in-the-making
Champ in-the-making
Hi,

I am connecting to Alfresco on OS X using WebDAV. For every file I upload, there is another file identical, but with dot underscore in front that shows up in the http interface for Alfresco. For example. I upload Filename.ext. In WebDAV, I only see Filename.ext, but now in Alfresco's web interface, I have : ._Filename.ext and Filename.ext. In addition, there is a .DS_Store file.

Is there a way to automatically eliminate these files? or at least prevent them from being displayed?

Thanks!
6 REPLIES 6

sud0n1m
Champ in-the-making
Champ in-the-making
If you were to issue this command on the terminal of every Mac connecting in, that would fix it. I would prefer to enforce it on the server though. Is there a way to do that?

defaults write com.apple.desktopservices DSDontWriteNetworkStores true

Thanks, Colin

andreasg
Champ in-the-making
Champ in-the-making
Hello,

I would prefer to enforce it on the server though. Is there a way to do that
Thanks, Colin
Me too!

Thanks
Andreas

stk137
Champ in-the-making
Champ in-the-making
Hello,

I would prefer to enforce it on the server though. Is there a way to do that
Thanks, Colin
Me too!

Thanks
Andreas

me, three

I'd like to be able configure Alfresco to block files, such as .DS_Store as well as temp files generated by editors (~), from being added via WebDAV

huima
Champ in-the-making
Champ in-the-making
Has there been any solution yet for this?

I see the same thing happening on CIFS connection too.

ehasting
Champ in-the-making
Champ in-the-making
Any ideas here?? i have the same problem.. i have tried to used rules.. but it does not work as expected.  is there anywhere you can filter out files?

ehasting
Champ in-the-making
Champ in-the-making
I have created a script that scans through the repo. over cifs and remove ._ and .DS files form the repo.  Works rather good.. except i am having major problem with cifs after upgrading from 2.1 to 3.0

#!/bin/sh
# This script walks through the alfresco directory and delte all meta-files created by
# OS X, cifs/smb/webdav clients
#
# Created by Egil Hasting @ frontbase no
# 2008

ALFRESCO_MOUNT="/mnt/alfresco.files"

TIME_NOW=`date '+%y%d%m_%H%M%S'`
FILE_NAME="Deleted_AlfrescoFiles_$TIME_NOW.txt"


# echo "Finding OS X meta-files and log the file names to $FILE_NAME…"

#example
#/usr/bin/find . -not -mtime -168 -delete

mount $ALFRESCO_MOUNT

/usr/bin/find $ALFRESCO_MOUNT -name "._*.*" -or -name ".DS*" > /tmp/$FILE_NAME
echo "— End of log —" >> /tmp/$FILE_NAME
# echo "Delete files…"
/usr/bin/find $ALFRESCO_MOUNT -name "._*.*" -delete
/usr/bin/find $ALFRESCO_MOUNT -name ".DS*" -delete

cp /tmp/$FILE_NAME $ALFRESCO_MOUNT/Logs
rm /tmp/$FILE_NAME

umount $ALFRESCO_MOUNT