How to ignore ''.appledouble'' copied from MacOS ?
Moderators: Hacker, petermad, Stefan2, white
How to ignore ''.appledouble'' copied from MacOS ?
Hello.
I've been looking for a solution to below problem, with no luck unfortunately.
I work on Win7 and I have many MacOS clients.
Whenever I download the project files from them the folders contain "apple dust" files.
I've configured the TC to ignore the files like:
.DS_Store
.BridgeCachet
._.BridgeCache
._.BridgeCacheT
Thumbs.db
.AppleDouble
"Ignore List" hides the files indeed, but when the folder containing them is copied/downloaded to my machine, it's copied with those files.
This becomes a problem when I finish the project and want to archive it.
To archive them I simly "move" them to my server, but as they contains those files, TC prompts me every time it tries to delete a folder (after it's been copied to my server), that the folder can't be deleted.
The reason for that is that it still contain those files...
It's a little bit annoying when I need to move a folder with huge project containing hundreds of folders, which I'd like to set for moving/archiving and leave my workstation, but instead I have to sit and click "OK" few hundred times...
My question is... is there any way to make TC ignore the files completely - not just hiding them, but also not copying them to my system?
Thanks!
I've been looking for a solution to below problem, with no luck unfortunately.
I work on Win7 and I have many MacOS clients.
Whenever I download the project files from them the folders contain "apple dust" files.
I've configured the TC to ignore the files like:
.DS_Store
.BridgeCachet
._.BridgeCache
._.BridgeCacheT
Thumbs.db
.AppleDouble
"Ignore List" hides the files indeed, but when the folder containing them is copied/downloaded to my machine, it's copied with those files.
This becomes a problem when I finish the project and want to archive it.
To archive them I simly "move" them to my server, but as they contains those files, TC prompts me every time it tries to delete a folder (after it's been copied to my server), that the folder can't be deleted.
The reason for that is that it still contain those files...
It's a little bit annoying when I need to move a folder with huge project containing hundreds of folders, which I'd like to set for moving/archiving and leave my workstation, but instead I have to sit and click "OK" few hundred times...
My question is... is there any way to make TC ignore the files completely - not just hiding them, but also not copying them to my system?
Thanks!
TC doesn't copy ignored files. But since you move folder containing ignored files, TC have to move ignored files too, otherwise it will be moved only partially.
Since these files aren't needed for you, it maybe better not to hide them but show as a reminder that they are still exist, as a sign that they should be deleted by clicking buttonbar button. It is quite easy to write batch file that will recursively delete such files from folder structure:
Since these files aren't needed for you, it maybe better not to hide them but show as a reminder that they are still exist, as a sign that they should be deleted by clicking buttonbar button. It is quite easy to write batch file that will recursively delete such files from folder structure:
Code: Select all
@del /f /s /q *.DS_Store *.BridgeCachet *._.BridgeCache ...
Hello again.
I tried to add a button with the following in the "Command" field
(please note, the .AppleDouble is a folder):
All of them prompted "File not found", can you let me know what I'm doing wrong? I disabled the "Ignore list" and I can see .AppleDouble folder there.
Thanks again
I tried to add a button with the following in the "Command" field
(please note, the .AppleDouble is a folder):
Code: Select all
@del /f /s /q .AppleDouble
@del /f /s /q ".AppleDouble"
@del /f /s /q "\.AppleDouble"
@rd /s /q .AppleDouble
@rd /s /q ".AppleDouble"
@rd /s /q "\.AppleDouble"
Thanks again
You can't type such commands in Command field, these are commands of Windows CMD processor.
It is impossible to recursively delete dirs with specific names using single rd command.
Try to create cleaner.cmd file somewhere:
Add more similar del and rd commands with file and dir names to remove.
Then drag it to buttonbar and edit button by adding "%P" to Parameters field. It will scan current dir and nested ones on order to remove undesired files and dirs.
It is impossible to recursively delete dirs with specific names using single rd command.
Try to create cleaner.cmd file somewhere:
Code: Select all
@echo off
if -%1==- echo Parameters: "%%P" & pause & goto :EOF
for /D %%d in ("%~1\*") do (
echo Cleaning %%d:
del /f /q "%%d\Thumbs.db"
rd /s /q "%%d\.AppleDouble"
echo.
call %0 %%d np
)
if not -%2==-np pause
Then drag it to buttonbar and edit button by adding "%P" to Parameters field. It will scan current dir and nested ones on order to remove undesired files and dirs.
Isn't it better to use "for /R" ?MVV wrote:Code: Select all
.. for /D %%d in ("%~1\*") do ( .. call %0 %%d np ) if not -%2==-np pause
Code: Select all
..
for /R %1 /D %%d in (*) do (
..
)
pause