Reply
Thread Tools
Posts: 275 | Thanked: 46 times | Joined on Feb 2008 @ Raleigh, NC
#1
I have a number of duplicated file names preceded with "._" which seem to do nothing but fill up my file lists with files that don't open. The first time I noticed them was in MPlayer. There were only a few and it was not not a big deal. In Media Box however there are WAY too many.

None of them open nor can they be found by the search tool.

Are they junk that can be removed?

If so I'm guessing it would be via the terminal which I'm not afraid to use, but lack the expertise to know the commands find and remove them.

I tried this: find / -name '._'
to no avail.
__________________
N800 and N810: Diablo MMC2 Boot
 

The Following User Says Thank You to mfortner For This Useful Post:
Posts: 566 | Thanked: 150 times | Joined on Dec 2007
#2
I'm not sure what kind of files they are but you can find them with:

find / -name '._*'

If you're sure you can delete them, this deletes all files starting with ._ in folder /home/user/ and subfolders:

find /home/user -name '._*' -type f -print0 | xargs -0 /bin/rm -f

Last edited by iamthewalrus; 2008-08-23 at 15:04.
 

The Following 2 Users Say Thank You to iamthewalrus For This Useful Post:
GeneralAntilles's Avatar
Posts: 5,478 | Thanked: 5,222 times | Joined on Jan 2006 @ St. Petersburg, FL
#3
They're stupid stuff generated by OS X. There's a way to turn them off, but I don't recall the method. Google it.
 
Posts: 275 | Thanked: 46 times | Joined on Feb 2008 @ Raleigh, NC
#4
Originally Posted by iamthewalrus View Post
I

find /home/user -name '._*' -type f -print0 | xargs -0 /bin/rm -f
Thanks. Can you interpret this? Am I doing something wrong?

xargs: invalid option -- 0
BusyBox v1.6.1 (2008-05-22 10:32:35 EEST) multi-call binary

Last edited by mfortner; 2008-08-23 at 22:17.
 

The Following User Says Thank You to mfortner For This Useful Post:
Posts: 566 | Thanked: 150 times | Joined on Dec 2007
#5
Originally Posted by mfortner View Post
Thanks. Can you interpeet this? Am I doing something wrong?

xargs: invalid option -- 0
BusyBox v1.6.1 (2008-05-22 10:32:35 EEST) multi-call binary
Sorry you're right. That option works with the version of xargs in regular desktop linux distros but not with the trimmed down Busybox version that is on the tablets. So I wouldn't know how to delete those files in one go. But at least you can find them with the find command.
 
pycage's Avatar
Posts: 3,404 | Thanked: 4,474 times | Joined on Oct 2005 @ Germany
#6
Code:
find /home/user -name '._*' -type f -exec rm "{}" \;
does the job.
 

The Following 2 Users Say Thank You to pycage For This Useful Post:
Posts: 566 | Thanked: 150 times | Joined on Dec 2007
#7
Originally Posted by pycage View Post
Code:
find /home/user -name '._*' -type f -exec rm "{}" \;
does the job.
That doesn't work with the BusyBox version of find either.
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#8
Who is up for editing the busybox's debconfig and adding some options in? I took a look last time using make menuconfig after apt-get source busybox from nokia's sdk repo and it has a lot of find related options disabled.
 
Posts: 275 | Thanked: 46 times | Joined on Feb 2008 @ Raleigh, NC
#9
Argh! I'm stuck. Very frustrating not knowing what to do. I figured out how to remove them file by file using rm media/mmc2/folder/file.ext etc. I discovered that command will not work with file names that have a space. For example: I can rm mysong.mp3, but not my song.mp3 or 01 mysong.mp3

I also tried installing Emelfm2 file manager. I got the file unzipped and gpe file manager shows an Emelfm2 folder sitting in home/user, but I'm stuck there not knowing how to compile it. I have cmake installed.

So I know I'm operating WAY out of my range here, but hey how else do you learn?
__________________
N800 and N810: Diablo MMC2 Boot

Last edited by mfortner; 2008-08-24 at 03:02.
 
Posts: 275 | Thanked: 46 times | Joined on Feb 2008 @ Raleigh, NC
#10
I found another way to remove them. I changed the name of the containing folder. Recycled the original name to a new folder. I copied the visible files to the new folder and trashed the old folder with the hidden files in it. xterm conforms they are gone.

I'd still like to know the deal with the spaces in file names and install emelfm2?
__________________
N800 and N810: Diablo MMC2 Boot
 
Reply


 
Forum Jump


All times are GMT. The time now is 12:31.