Sky
Vittorio vb Bertola
Fasendse vëdde an sla Ragnà dal 1995

Lùn 6 - 18:57
Cerea, përson-a sconòssua!
Italiano English Piemonteis
chi i son
chi i son
guida al sit
guida al sit
neuve ant ël sit
neuve ant ël sit
licensa
licensa
contatame
contatame
blog
near a tree [it]
near a tree [it]
vej blog
vej blog
përsonal
papé
papé
fotografie
fotografie
video
video
musica
musica
atività
net governance
net governance
consej comunal
consej comunal
software
software
agiut
howto
howto
internet faq
internet faq
usenet e faq
usenet e faq
autre ròbe
ël piemonteis
ël piemonteis
conan
conan
mononoke hime
mononoke hime
vej programa
vej programa
travaj
consulense
consulense
conferense
conferense
treuvo travaj
treuvo travaj
angel dj'afé
angel dj'afé
sit e software
sit e software
menagé
login
login
tò vb
tò vb
registrassion
registrassion

CleanOSXFiles

Current version

Version number: 1.0
Release date: 1/Jan/2010
Authors: Vittorio 'vb' Bertola
License: GNU GPL version 2
Interface language: English
Programming language: Perl
OS/Environment: Mac OS X/Linux

Description

CleanOSXFiles is a simple Perl script to remove the annoying extra files written by Mac OS X's Finder into every directory - files such as .DS_Store and ._filename. These files are useful and invisible as long as you remain inside a Mac environment, but become useless and apparent when directory trees are exported into other operating systems, for example via tar. The script will recursively parse every subdirectory and clean it from the unnecessary files.

Please remember that, while the .DS_Store files are visible in Mac OS X, the ._filename files (one for every file) created by the Finder under certain conditions are a representation of a "resource fork" and will not be accessible by the script if run under Mac OS X. You will only be able to remove these files after having exported the directory structure to another operating system (for example, by tarring and untarring it), by running the script on the target machine.

Requirements

CleanOSXFiles requires a standard Perl installation.

Installation

Download the file and extract it in a temporary directory:

cd /tmp tar xvfz cleanosxfiles-1.0.tar.gz

then move the cleanosxfiles script into your favourite directory, and make it world-executable by typing

chmod 755 cleanosxfiles

Configuration

No configuration needs to be performed.

Usage

Just launch the script from the Linux command line or from a Mac OS X terminal.

The script takes as argument the starting directory - the root of the directory tree to be cleaned.

Optionally, before the argument, you can specify -n to execute a dry run: the script will tell you which files it would have deleted, but it will not actually delete them.

Examples:

cleanosxfiles /tmp/myfiles/ cleanosxfiles -n .

Download

Click here to download:

CleanOSXFiles 1.0 (879 bytes)

« Back to the "Software" section index

Creative Commons License
Cost sit a l'è (C) 1995-2021 ëd Vittorio Bertola - Informassion sla privacy e sij cookies
Certidun drit riservà për la licensa Creative Commons Atribussion - Nen comersial - Condivide parej
Attribution Noncommercial Sharealike