Active Topics

 


Reply
Thread Tools
Posts: 65 | Thanked: 23 times | Joined on Jul 2008 @ Argentina
#11
Hi, I downloaded emelfm2 from here: http://www.internettablettalk.com/fo...ad.php?t=18462 it is a nice .deb, so just click and install. Good luck.
 
Posts: 3,428 | Thanked: 2,856 times | Joined on Jul 2008
#12
Just for future note to people.. to delete a file with a space in command line you need to use an escape character (\).. so

Code:
rm -f my\ file.mp3
Also.. if you press tab after typing part of a file name; if it's the only file in the directory that starts that way it will auto-complete the filename for you.. with the escape's where they are needed. So typing "my" and press tab.. will produce the above result.
__________________
If I've helped you or you use any of my packages feel free to help me out.
-----------------------------------------------------------------------------------
Maintaining:
pyRadio - Pandora Radio on your N900, N810 or N800!
 

The Following User Says Thank You to fatalsaint For This Useful Post:
AstroGuy's Avatar
Posts: 36 | Thanked: 2 times | Joined on Aug 2008 @ California
#13
My way of deleting files like these from a file system is:

rm -i `find ._*`

remove the -i if you don't want to confirm the deletion of each file, just remember there is no 'un'rm
 
brontide's Avatar
Posts: 868 | Thanked: 474 times | Joined on Oct 2007 @ Capital District, NY, USA
#14
Originally Posted by AstroGuy View Post
My way of deleting files like these from a file system is:

rm -i `find ._*`

remove the -i if you don't want to confirm the deletion of each file, just remember there is no 'un'rm
The problem with this and some of the other methods is they are not "space" friendly. So if you have "._My Document" and "Document" it will match on the first and then rm -i ._My Document where ._My is non-existent and Document will happily delete your other file.
 
rcull's Avatar
Posts: 299 | Thanked: 168 times | Joined on Jun 2006 @ Wales UK
#15
Try this

Code:
~/trial $ ls -a
.         ..        ._my doc  ._mydoc   mydoc
Code:
~/trial $ for f in ._*
> do
> rm "$f"
> done
Code:
~/trial $ ls -a
.      ..     mydoc
rick
 

The Following User Says Thank You to rcull For This Useful Post:
brontide's Avatar
Posts: 868 | Thanked: 474 times | Joined on Oct 2007 @ Capital District, NY, USA
#16
or on one line
Code:
for file in ._*; do rm "$file";done
 
rcull's Avatar
Posts: 299 | Thanked: 168 times | Joined on Jun 2006 @ Wales UK
#17
or
ls ._* | while read file;do rm "$file";done
 
zerojay's Avatar
Posts: 2,669 | Thanked: 2,555 times | Joined on Apr 2007 @ Halifax, Nova Scotia, Canada
#18
Originally Posted by fatalsaint View Post
Just for future note to people.. to delete a file with a space in command line you need to use an escape character (\).. so

Code:
rm -f my\ file.mp3
Also.. if you press tab after typing part of a file name; if it's the only file in the directory that starts that way it will auto-complete the filename for you.. with the escape's where they are needed. So typing "my" and press tab.. will produce the above result.
You can also quote the file name: "my file.mp3".
 
free's Avatar
Posts: 739 | Thanked: 159 times | Joined on Sep 2007 @ Germany - Munich
#19
Originally Posted by qwerty12 View Post
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.
That would be a good idea yep!
Not only for find, for a lot of other things probably..
 
Reply


 
Forum Jump


All times are GMT. The time now is 22:35.