Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.mac.system > #71996 > unrolled thread
| Started by | David Fritzinger <email@domain.com> |
|---|---|
| First post | 2015-03-24 08:36 -0400 |
| Last post | 2015-03-24 15:41 -0400 |
| Articles | 10 — 4 participants |
Back to article view | Back to comp.sys.mac.system
"extra" files seen in VW infotainment system David Fritzinger <email@domain.com> - 2015-03-24 08:36 -0400
Re: "extra" files seen in VW infotainment system David Fritzinger <email@domain.com> - 2015-03-24 09:38 -0400
Re: "extra" files seen in VW infotainment system Jolly Roger <jollyroger@pobox.com> - 2015-03-24 14:44 +0000
Re: "extra" files seen in VW infotainment system Jolly Roger <jollyroger@pobox.com> - 2015-03-24 14:34 +0000
Re: "extra" files seen in VW infotainment system Jolly Roger <jollyroger@pobox.com> - 2015-03-24 14:54 +0000
Re: "extra" files seen in VW infotainment system Jolly Roger <jollyroger@pobox.com> - 2015-03-24 15:19 +0000
Re: "extra" files seen in VW infotainment system Lewis <g.kreme@gmail.com.dontsendmecopies> - 2015-03-24 21:24 +0000
Re: "extra" files seen in VW infotainment system Jolly Roger <jollyroger@pobox.com> - 2015-03-24 21:59 +0000
Re: "extra" files seen in VW infotainment system nmassello@yahoo.com (Neill Massello) - 2015-03-24 13:11 -0600
Re: "extra" files seen in VW infotainment system David Fritzinger <email@domain.com> - 2015-03-24 15:41 -0400
| From | David Fritzinger <email@domain.com> |
|---|---|
| Date | 2015-03-24 08:36 -0400 |
| Subject | "extra" files seen in VW infotainment system |
| Message-ID | <merlmf$ntf$1@dont-email.me> |
I'm not sure if this is the right newsgroup, but I'll try this anyway. I recently bought a 2015 VW GTI. Part of the infotainment system is the ability to store music on SD cards, to be played through the car's infotainment system. I made copies the songs in my iTunes Music folder, organized by album, but have been having trouble playing the songs in the car. What I've recently noticed is that when the card is read in the car, there appear to be two or more copies of the songs in the album folder. One of them gives the song's name, but with an underline preceding the song's name, and with a music symbol with a line through it before the song's name. The second copy just has the name of the song. I am unable to play the former (though I sometimes can, with a bit of fooling aroung-starting and stopping the playback a few times), but the latter plays with no problem. These extra files don't show up in the finder on my Mac (Mid 2010 iMac, 27", 3.6 GHz i5, OSX.10.2, iTunes 12.1.0.50). Are these files needed for the VW to play back the songs? If not, is there an easy to get rid of them? Note: When selecting "Show hidden files" in Onyx, the unplayable files do not show up in the finder. Thank you in advance.
[toc] | [next] | [standalone]
| From | David Fritzinger <email@domain.com> |
|---|---|
| Date | 2015-03-24 09:38 -0400 |
| Message-ID | <merpbv$7m0$1@dont-email.me> |
| In reply to | #71996 |
On 2015-03-24 12:36:18 +0000, David Fritzinger said: > I'm not sure if this is the right newsgroup, but I'll try this anyway. > I recently bought a 2015 VW GTI. Part of the infotainment system is the > ability to store music on SD cards, to be played through the car's > infotainment system. I made copies the songs in my iTunes Music folder, > organized by album, but have been having trouble playing the songs in > the car. What I've recently noticed is that when the card is read in > the car, there appear to be two or more copies of the songs in the > album folder. One of them gives the song's name, but with an underline > preceding the song's name, and with a music symbol with a line through > it before the song's name. The second copy just has the name of the > song. I am unable to play the former (though I sometimes can, with a > bit of fooling aroung-starting and stopping the playback a few times), > but the latter plays with no problem. These extra files don't show up > in the finder on my Mac (Mid 2010 iMac, 27", 3.6 GHz i5, OSX.10.2, > iTunes 12.1.0.50). Are these files needed for the VW to play back the > songs? If not, is there an easy to get rid of them? > > Note: When selecting "Show hidden files" in Onyx, the unplayable files > do not show up in the finder. > > Thank you in advance. I just used Onyx, which mentioned the existence of "AppleDouble" files, which contain metadata or resource data to files whose format doesn't suport resources or metadata. The filenames of these files starts with ._, which is the same as the files I was seeing. Question is, will removing the AppleDouble files cause me to lose song information, such as the album and the artist? Thank you in advance again.
[toc] | [prev] | [next] | [standalone]
| From | Jolly Roger <jollyroger@pobox.com> |
|---|---|
| Date | 2015-03-24 14:44 +0000 |
| Message-ID | <cndbhrF8e8sU3@mid.individual.net> |
| In reply to | #71997 |
On 2015-03-24, David Fritzinger <email@domain.com> wrote: > On 2015-03-24 12:36:18 +0000, David Fritzinger said: > >> I'm not sure if this is the right newsgroup, but I'll try this anyway. >> I recently bought a 2015 VW GTI. Part of the infotainment system is the >> ability to store music on SD cards, to be played through the car's >> infotainment system. I made copies the songs in my iTunes Music folder, >> organized by album, but have been having trouble playing the songs in >> the car. What I've recently noticed is that when the card is read in >> the car, there appear to be two or more copies of the songs in the >> album folder. One of them gives the song's name, but with an underline >> preceding the song's name, and with a music symbol with a line through >> it before the song's name. The second copy just has the name of the >> song. I am unable to play the former (though I sometimes can, with a >> bit of fooling aroung-starting and stopping the playback a few times), >> but the latter plays with no problem. These extra files don't show up >> in the finder on my Mac (Mid 2010 iMac, 27", 3.6 GHz i5, OSX.10.2, >> iTunes 12.1.0.50). Are these files needed for the VW to play back the >> songs? If not, is there an easy to get rid of them? >> >> Note: When selecting "Show hidden files" in Onyx, the unplayable files >> do not show up in the finder. >> >> Thank you in advance. > > I just used Onyx, which mentioned the existence of "AppleDouble" files, > which contain metadata or resource data to files whose format doesn't > suport resources or metadata. The filenames of these files starts with > ._, which is the same as the files I was seeing. Question is, will > removing the AppleDouble files cause me to lose song information, such > as the album and the artist? No, because ID3 information is stored within the data fork of the song file. -- E-mail sent to this address may be devoured by my ravenous SPAM filter. I often ignore posts from Google. Use a real news client instead. JR
[toc] | [prev] | [next] | [standalone]
| From | Jolly Roger <jollyroger@pobox.com> |
|---|---|
| Date | 2015-03-24 14:34 +0000 |
| Message-ID | <cndav3F8e8sU1@mid.individual.net> |
| In reply to | #71996 |
On 2015-03-24, David Fritzinger <email@domain.com> wrote:
> I'm not sure if this is the right newsgroup, but I'll try this anyway.
> I recently bought a 2015 VW GTI. Part of the infotainment system is the
> ability to store music on SD cards, to be played through the car's
> infotainment system. I made copies the songs in my iTunes Music folder,
> organized by album, but have been having trouble playing the songs in
> the car. What I've recently noticed is that when the card is read in
> the car, there appear to be two or more copies of the songs in the
> album folder. One of them gives the song's name, but with an underline
> preceding the song's name, and with a music symbol with a line through
> it before the song's name. The second copy just has the name of the
> song. I am unable to play the former (though I sometimes can, with a
> bit of fooling aroung-starting and stopping the playback a few times),
> but the latter plays with no problem. These extra files don't show up
> in the finder on my Mac (Mid 2010 iMac, 27", 3.6 GHz i5, OSX.10.2,
> iTunes 12.1.0.50). Are these files needed for the VW to play back the
> songs? If not, is there an easy to get rid of them?
>
> Note: When selecting "Show hidden files" in Onyx, the unplayable files
> do not show up in the finder.
>
> Thank you in advance.
When you copy files containing resource forks or extended attributes to
a file system that does not support them, Mac OS X creates two files:
one file with the original file name to hold the actual data, and a
second file named "._filename" to store the information that would have
been in the resource fork or extended attributes. Typically the "._"
files can be ignored, since the actual data you want is in the other
files. Collectively, these two files are called AppleDouble files. You
can read more about them here:
<https://en.wikipedia.org/wiki/AppleSingle_and_AppleDouble_formats>
<https://support.apple.com/kb/TA37993>
<https://support.apple.com/kb/TA32537>
On Unix systems (including Mac OS X), files with names beginning with a
period (.) character are hidden from normal view. As a result, you
cannot see these files in OS X Finder windows, and you do not normally
see them in terminal windows with the "ls" command unless you use the -a
flag on the command, like so:
ls -al
It's probably not a good idea to remove resource forks or extended
attributes from the files on the Mac, since they are used by OS X and
applications. Instead, there are two things you can do:
1. Prevent AppleDouble files from being created
2. Remove them after they are created.
Preventing AppleDouble Files From Being Created
I don't know of an easy way to prevent OS X Finder from creating
AppleDouble files during file copies to file systems that do not support
resource forks and extended attributes. So what you can do instead is
use a different method to copy the files that does support suppression
of AppleDouble files. One such utility is the "cp" command-line utility.
In OS X, the "cp" command-line utility supports a -X switch to suppress
copying resource forks and extended attributes.
From the "cp" manual:
CP(1) BSD General Commands Manual
CP(1)
NAME
cp -- copy files
SYNOPSIS
cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file target_file
cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file ...
target_directory
DESCRIPTION
In the first synopsis form, the cp utility copies the contents of
the
source_file to the target_file. In the second synopsis form, the
contents
of each named source_file is copied to the destination
target_directory.
The names of the files themselves are not changed. If cp detects
an
attempt to copy a file to itself, the copy will fail.
The following options are available:
[snip]
-X Do not copy Extended Attributes (EAs) or resource forks.
For example, assuming your SD card was mounted at /Volumes/SD, and your
music files are in the iTunes library, your "cp" command to copy the
files to the SD card might look something like this (on one line):
cp -rX ~/Music/iTunes/iTunes\ Media/Music/Beck/Odelay
/Volumes/SD/Whatever/Odelay
You could relatively easily incorporate this command into a script
(shell, Perl, PHP, Ruby, or AppleScript or instance) to allow you to use
it for any music you want. Using it in an AppleScript would even allow
you to make to drag and drop friendly - drag the music you want to copy,
drop it onto the script, and let the script copy it for you - which
would be almost as user friendly as Finder copies normally are.
Removing AppleDouble Files After They Are Created
If using special copy commands isn't for you, what you could do instead
is simply remove the AppleDouble files from the SD card right after you
do the copy.
Here's how I normally do that:
My ~/.bashrc shell startup file has this in it to load aliases:
# pick up aliases
test -s ~/.alias && . ~/.alias
I have a file at ~/.alias that contains a bunch of aliases I have
defined, including one to remove AppleDouble files (on one line):
alias remove_appledoubles='find . -name ".AppleDouble" -print -exec rm
-rf "{}" \;'
To use it I open a terminal window, and use the "cd" command to change
the working directory to the directory containing the AppleDouble files.
Then I issue the "remove_appledoubles" command alias.
Assuming you had this alias defined in your shell startup files, if your
SD card was mounted at /Volumes/SD, your commands might look like this:
cd /Volumes/SD
remove_appledoubles
Or without the alias, you could just do it manually like this:
cd /Volumes/SD
find . -name ".AppleDouble" -print -exec rm -rf "{}" \;
Remember: You would issue these commands *after* you copy the files to
the SD card, to remove any AppleDouble files that were created by OS X
during the copy.
--
E-mail sent to this address may be devoured by my ravenous SPAM filter.
I often ignore posts from Google. Use a real news client instead.
JR
[toc] | [prev] | [next] | [standalone]
| From | Jolly Roger <jollyroger@pobox.com> |
|---|---|
| Date | 2015-03-24 14:54 +0000 |
| Message-ID | <cndc50F8e8sU4@mid.individual.net> |
| In reply to | #71998 |
On 2015-03-24, Jolly Roger <jollyroger@pobox.com> wrote:
>
> I have a file at ~/.alias that contains a bunch of aliases I have
> defined, including one to remove AppleDouble files (on one line):
>
> alias remove_appledoubles='find . -name ".AppleDouble" -print -exec rm
> -rf "{}" \;'
I just realized I copied the wrong alias. Oops. The above command
looks for files named ".AppleDouble", which isn't what you want.
This is what you want instead:
alias remove_appledoubles='find . -name "._*" -print -exec rm -rf "{}" \;'
Or without the alias:
find . -name "._*" -print -exec rm -rf "{}" \;
Sorry for the confusion!
--
E-mail sent to this address may be devoured by my ravenous SPAM filter.
I often ignore posts from Google. Use a real news client instead.
JR
[toc] | [prev] | [next] | [standalone]
| From | Jolly Roger <jollyroger@pobox.com> |
|---|---|
| Date | 2015-03-24 15:19 +0000 |
| Message-ID | <cnddjbF8e8sU8@mid.individual.net> |
| In reply to | #72000 |
On 2015-03-24, Jolly Roger <jollyroger@pobox.com> wrote:
> On 2015-03-24, Jolly Roger <jollyroger@pobox.com> wrote:
>>
>> I have a file at ~/.alias that contains a bunch of aliases I have
>> defined, including one to remove AppleDouble files (on one line):
>>
>> alias remove_appledoubles='find . -name ".AppleDouble" -print -exec rm
>> -rf "{}" \;'
>
> I just realized I copied the wrong alias. Oops. The above command
> looks for files named ".AppleDouble", which isn't what you want.
>
> This is what you want instead:
>
> alias remove_appledoubles='find . -name "._*" -print -exec rm -rf "{}" \;'
>
> Or without the alias:
>
> find . -name "._*" -print -exec rm -rf "{}" \;
>
> Sorry for the confusion!
And if you want to test it to see which files it finds without actually
deleting them, just take off the -exec portion like so:
find . -name "._*" -print
--
E-mail sent to this address may be devoured by my ravenous SPAM filter.
I often ignore posts from Google. Use a real news client instead.
JR
[toc] | [prev] | [next] | [standalone]
| From | Lewis <g.kreme@gmail.com.dontsendmecopies> |
|---|---|
| Date | 2015-03-24 21:24 +0000 |
| Message-ID | <slrnmh3lhd.1u5.g.kreme@kreme.eternal-september.org> |
| In reply to | #72000 |
Okay, so one time? In band camp? Jolly Roger <jollyroger@pobox.com> was all, like:
> find . -name "._*" -print -exec rm -rf "{}" \;
Why -exec? why -print?
find /Volumes/SD -name "._*" -delete
--
http://2blog.kreme.com
Maybe I should have seen it as some kind of sign, except I don't believe
in them no more; no no, but I believe these things I can't forget, tho I
don't see you anymore.
[toc] | [prev] | [next] | [standalone]
| From | Jolly Roger <jollyroger@pobox.com> |
|---|---|
| Date | 2015-03-24 21:59 +0000 |
| Message-ID | <cne51fFfrmvU1@mid.individual.net> |
| In reply to | #72016 |
On 2015-03-24, Lewis <g.kreme@gmail.com.dontsendmecopies> wrote:
> Okay, so one time? In band camp? Jolly Roger <jollyroger@pobox.com> was all, like:
>
>> find . -name "._*" -print -exec rm -rf "{}" \;
>
> Why -exec? why -print?
>
> find /Volumes/SD -name "._*" -delete
The print is there to print the files as they are processed, obviously.
Whenever doing anything that destroys data, I tend to err on the side of
caution and be as verbose as possible.
The -delete switch cannot delete directories - only files. It's
certainly not needed in this situation, but isn't going to hurt anything
either. Like I said, I originally copied the wrong alias which was
written for something else. Then I quickly replied to correct it.
Feel free to modify the command to your heart's content. : )
--
E-mail sent to this address may be devoured by my ravenous SPAM filter.
I often ignore posts from Google. Use a real news client instead.
JR
[toc] | [prev] | [next] | [standalone]
| From | nmassello@yahoo.com (Neill Massello) |
|---|---|
| Date | 2015-03-24 13:11 -0600 |
| Message-ID | <1m1sf91.r32jbbhj3houN%nmassello@yahoo.com> |
| In reply to | #71996 |
David Fritzinger <email@domain.com> wrote: > These extra files don't show up > in the finder on my Mac (Mid 2010 iMac, 27", 3.6 GHz i5, OSX.10.2, > iTunes 12.1.0.50). Are these files needed for the VW to play back the > songs? If not, is there an easy to get rid of them? In addition to the command line methods that Jolly Roger has described, there are some GUI utilities that can prevent or delete such files. My only personal experience is with TinkerTool System ($13), but MacUpdate also lists Blue Harvest ($15) and Hidden Cleaner (free).
[toc] | [prev] | [next] | [standalone]
| From | David Fritzinger <email@domain.com> |
|---|---|
| Date | 2015-03-24 15:41 -0400 |
| Message-ID | <mesejt$8di$1@dont-email.me> |
| In reply to | #72006 |
On 2015-03-24 19:11:18 +0000, Neill Massello said: > David Fritzinger <email@domain.com> wrote: > >> These extra files don't show up >> in the finder on my Mac (Mid 2010 iMac, 27", 3.6 GHz i5, OSX.10.2, >> iTunes 12.1.0.50). Are these files needed for the VW to play back the >> songs? If not, is there an easy to get rid of them? > > In addition to the command line methods that Jolly Roger has described, > there are some GUI utilities that can prevent or delete such files. My > only personal experience is with TinkerTool System ($13), but MacUpdate > also lists Blue Harvest ($15) and Hidden Cleaner (free). Thanks for the information. For what it is worth, I believe Onyx will also remove them. At least there is command there to do so. Again, thank you everyone for the information.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.sys.mac.system
csiph-web