[MAC] tool for getting rid of .ds-store - Hero CDMA Themes and Apps

Overall mac usage is ~ 10% of computer users. Here, amongst hacker-people, I'd wager it was ~5%. of that 5%, those people who actually are into signing their own update.zip files are probably pretty low. we'll say 20% of em. so .2 * .05 = .01 = 1% of the forum users here. that said, there are somewhere around 1000 people who are on here I'd say. so 1% of 1000 is about 10 people. not bad. this tool is helpful enough that it's worth it to post it.
In finder on mac, viewing hidden files is a very handy option. unfortunately, you'll find that in _each_ and _every_ directory in the OS is a file called .ds-store . I think it's some kind of indexing file.
the problems start when you create a rom file that you want to zip up without including these .ds-store files. but when you access the folder, they're automatically created! ah! here's a tool that goes through and deletes all the .ds-store files from a folder and all of it's subfolders. rather handy for those of us who need to sign things and not include excess weird stuff.
anywho just thought I'd share
* all these statistics are just educated guesses, and are probably not very right.
also, I'm exhausted and in bed posting on xda and I feel like I'm having an out-of-body experience. this is weird

rt1oo said:
Overall mac usage is ~ 10% of computer users. Here, amongst hacker-people, I'd wager it was ~5%. of that 5%, those people who actually are into signing their own update.zip files are probably pretty low. we'll say 20% of em. so .2 * .05 = .01 = 1% of the forum users here. that said, there are somewhere around 1000 people who are on here I'd say. so 1% of 1000 is about 10 people. not bad. this tool is helpful enough that it's worth it to post it.
In finder on mac, viewing hidden files is a very handy option. unfortunately, you'll find that in _each_ and _every_ directory in the OS is a file called .ds-store . I think it's some kind of indexing file.
the problems start when you create a rom file that you want to zip up without including these .ds-store files. but when you access the folder, they're automatically created! ah! here's a tool that goes through and deletes all the .ds-store files from a folder and all of it's subfolders. rather handy for those of us who need to sign things and not include excess weird stuff.
anywho just thought I'd share
* all these statistics are just educated guesses, and are probably not very right.
also, I'm exhausted and in bed posting on xda and I feel like I'm having an out-of-body experience. this is weird
Click to expand...
Click to collapse
This is a great tool. Thanks

find . -name '*.DS_Store' -type f -delete
Click to expand...
Click to collapse
that will recursively delete all ds_store files in a directory
apple ftw!

Related

EXTENDED ROM INDEXING SITE

there it is folks...after 2 days of hard work, my site is almost done
Im posting it now to get some feedback
dont mind the way it looks atm etc and downloads are disabled for now...
http://www.dmmh.nl/xda/files/
let me know what you think
btw, I still have to add around 450 files to the site, those arent indexed yet, but I wonder what people think about layout, way of sorting etc etc
there will also be a comments section for people who take the time to register and a simple rating system
looks like a great resource
Shouldn't 2002/2003/2003SE/2005 be an option?
nah, not many files for extended roms are operating system dependant, as far as I know
correct me, if I am terribly wrong
Nice job! Layout looks good with the filter system, although I think that some of the customisation cabs are dependent on OS, particularly for MMS. I may be wrong, but at least someone here can correct me!
Keep up the brilliant work!!
Fin
tbh, I aquired all of the files of the FTP, Im thinking about adding a upload form to the site where one can upload their extended rom and the file will land in a temporary folder which I access via ftp, verify and move to the real files directory.
Either this, or there has to be a better way of getting to know when a new extended rom is available for download. Maybe forums on the site will be usefull
file downloads working now...
file downloads are enabled
http://www.dmmh.nl/xda/
I am still working on the category sorting....its almost done...but returns wrong matches if more then one category is selected. All the other filter options are working.
TO DO LIST:
- member registration
- further extended comments section, leave comment for members
- develop 'suggest filter' (people who know the file may suggest the filters which apply) for members, gets aproved/ denied via admin control panel
- maybe forums
- rating system
sofar I have magician and blue angel files online, but a lot still needs the filtering applied
Good job bro, but my suggestion is to compress the cab files to rar, you'll gain more space
nice work....and a loooooot to do in the future,if u want to upload all the files :wink:
keep on man,i beleive ur site will become a gr8 station,where u can download everything concerning ext rom files
RAGO :lol:
ramram said:
Good job bro, but my suggestion is to compress the cab files to rar, you'll gain more space
Click to expand...
Click to collapse
there are already 1000 files on there...it would take a lot off time to compress them all manually or so
RAGOv said:
nice work....and a loooooot to do in the future,if u want to upload all the files :wink:
keep on man,i beleive ur site will become a gr8 station,where u can download everything concerning ext rom files
RAGO :lol:
Click to expand...
Click to collapse
thats the idea
dmmh said:
there are already 1000 files on there...it would take a lot off time to compress them all manually or so
Click to expand...
Click to collapse
When arching with WinRAR 3.42> use "Put each file in separate archive" option in Files (Archive) Tab
mmm, I could do that...but I would have to re-index all the files I've already done
Thanks for your c00l project!
I'm voting for adding "WM2002/2003/2003SE/2005/ALL/.NET" option there...
And one thingy, why not to allow file storing directly to Category?
Perhaps putting "trusted sender" OR "not trusted" variable will solve the problem. So when a new member sends file a file's comment will indicate that this file is from "UNTRUSTED SOURCE AND MAY HAVE VIRUSES AND STUF...". But when you review the file yourself you change variable of sender to trusted one and all files he sent become trusted... and adding "DELETE THIS FILE (-1)" option to rating system will save your time on deciding whether the sender is trusted or untrusted...
Cheers
uploading himalaya files now....****in loads of working, I had to use ER2003Edit to extract all files manually...better thank me on my knees!!!!!
any way to aquire Wallaby extended rom files? cant seem to extract them in a easy way.......
dmmh said:
any way to aquire Wallaby extended rom files? cant seem to extract them in a easy way.......
Click to expand...
Click to collapse
Wallaby doesn´t have a extended ROM. Only Adaption have been done via operator Config, which was included in the base rom. There are only a few CAB files in it.
If you get me a server i will upload complete set of operator config. If you don´t have one, i will take mine server and send you the link for downloading....
Stefan
mmm, ill see what I will do, thank you
I need more space
I have been offered webspace by one of the members here, which is awesome, but I like to keep using my host.
Due to the huge amount of files, it would cause to much delays to query for remote filenames and remote filesizes, causing very slow response times, rendering the site almost unusable
so, if anyone wants to see the Himalaya and Alpine files online...ever.....some donations would speed up the process
forum online
forum is online, but locked for the moment
registration for it is working, but you cant post anything/ view anything yet, as I am hacking the **** out of the CSS and .tpl files to make it all look like I want it to
tell me what you think
http://www.dmmh.nl/bb/
I like the layout for the forum.
SpeedN

Disabling Access To Games

Hi - is there any way on PocketPC 2003 to disable access to Solitaire and Jawbreaker. I'm pretty sure I can't remove them all together as they're in the ROM - but some registry hack to prevent access to them would be sufficient.
Try this...
You don't list what device or WM versions you are using, but here are two possible solutions you could try:
1) Read through the forums specific to your device, and learn how to cook your own ROM, removing the offending software.
2) Any file in your ROM can be "overwritten" by syncing to your pc and draggin a file with the same name to the folder containing the file you wish to replace. IE. I have a small, written for the pda application, which when run, displays a pop-up saying "This software has been removed because I do not wish for anyone using this device to have fun doing so!" or similar. I then name it solitare.exe and drag it into the Windows directory from my PC. It asks me am I sure I wish to overwrite the file, I click yes and bam! the file is "replaced". (I believe what actually happens is the OS delinks the file and places the new file in the old ones placeholder on the filesystem, it is still in the ROM as that is unwritable unless flashing, but it is no longer accessable, which is what you want to happen.
tried & failed...
I've created a solitare.exe as you suggested and placed it in the Windows directory - it doesn't seem to get run when executed however - The original game still gets run - I fear I may be doing something stupid.
Re: tried & failed...
gremlin said:
I've created a solitare.exe as you suggested and placed it in the Windows directory - it doesn't seem to get run when executed however - The original game still gets run - I fear I may be doing something stupid.
Click to expand...
Click to collapse
Why do you want to block them?
Re: Try this...
pneuma said:
You don't list what device or WM versions you are using, but here are two possible solutions you could try:
1) Read through the forums specific to your device, and learn how to cook your own ROM, removing the offending software.
2) Any file in your ROM can be "overwritten" by syncing to your pc and draggin a file with the same name to the folder containing the file you wish to replace. IE. I have a small, written for the pda application, which when run, displays a pop-up saying "This software has been removed because I do not wish for anyone using this device to have fun doing so!" or similar. I then name it solitare.exe and drag it into the Windows directory from my PC. It asks me am I sure I wish to overwrite the file, I click yes and bam! the file is "replaced". (I believe what actually happens is the OS delinks the file and places the new file in the old ones placeholder on the filesystem, it is still in the ROM as that is unwritable unless flashing, but it is no longer accessable, which is what you want to happen.
Click to expand...
Click to collapse
Hey pneuma.
2) Isn't working for me either. I thought gremlin was doing something wrong, but I just tried it myself, and, although my "fake" solitaire.exe (a renamed app) file is there, so is the original solitaire.exe. Tapping on the Solitaire icon under games runs the game as if nothing happened, although just opening the Games folder would tell you that it didn't work (the Solitaire icon is still the cards)
What did you do that we didn't? I'm using a Universal.
Peculiar...
Personally I haven't tried this specific to the games, but there was a nasty spash screen in the new WM5 for my Himalaya that I replaced in the method detailed above. It would appear however that solitaire might be a system program, as the following files:
\windows\solitaire.lnk
\windows\start menu\solitaire.lnk
have the following Target: ":MSSOLITAIRE"
but don't despair!
If you have resco explorer or some similar mobile based explorer replacement, try edit the links to point to the replacement exe, or even delete the links altogether, as well as the Games directory under "\windows\start menu\" (might not work deleting them though).
If the deletion or edits don't work you may well have to do the same trick, replacing these .lnk files with something else.
--Marc
Thanks to pneuma I think I've got a workable solution without having to hack into the ROM!
I've created two programs (using PocketBuilder) called Solitare.exe and Jawbreaker.exe which just pop up a response window saying "This Application Has Been Disabled"
I've also created two .lnk files - solitare.lnk and jawbreaker.lnk which contain:
22#"\Windows\Solitare.exe"
and
23#"\Windows\Jawbreaker.exe"
respectively
In my boot process I copy the executables and .lnk files to the \Windows directory and also copy the .lnk files to the
\Windows\Start Menu\Program\Games\
directory.
I don't think our users (sorry to diss them) are bright enough to figure out they have to remove all of these files to get the games working again.
Thanks for all your help.
Gremlin.
gremlin said:
(sorry to diss them)
Click to expand...
Click to collapse
But you're dissing them all the way by treating them like this.
Why shouldn't they be able to play Solitair or JawBreaker every now and then during a coffee of lunch break. A bit of light releif never did anyone any harm.
I'm glad I don't work with you. (Bah Humbug)
I have no say in how the users are treated - I am merely a developer - I get told what needs to be done and I do it. I can offer my suggestions at design time but ultimately it is not my decision how the users are treated on the shop floor.
If I was in management it would be a different story.
I'm lovely to work with - I make the tea and everything
gremlin said:
If I was in management it would be a different story.
Click to expand...
Click to collapse
Point taken. :wink:
I would argue that it's hardly worth the effort just to piss people off.
I'll have my tea with milk and no sugar.

missing file issue?

Since I can't post in the q & a forum I am posting here but mods feel free to move it. So I have a wm6.1 device and a Mac computer and I regularly send files, like cab and music files with out an issue. However, today I noticed that I send a music file like usual and the file is no where to be found on the devices however space about the same size as the file is being taken up. So I send another two files(one music and one cab file) with out an issue at all. Then later on I send a cab file, but I don't see it on the device even though space is being take up. This may have happened prior to this, but I didn't realize it or something. So how can A) regain that space by deleting those files not showing up, or B) find the files that are not showing up and use them as I intended to. I am loosing space because of this. Option of last(and I mean last) resort is a hard rest which I don't like to do. Thank you....
yrsmart said:
Since I can't post in the q & a forum I am posting here but mods feel free to move it. So I have a wm6.1 device and a Mac computer and I regularly send files, like cab and music files with out an issue. However, today I noticed that I send a music file like usual and the file is no where to be found on the devices however space about the same size as the file is being taken up. So I send another two files(one music and one cab file) with out an issue at all. Then later on I send a cab file, but I don't see it on the device even though space is being take up. This may have happened prior to this, but I didn't realize it or something. So how can A) regain that space by deleting those files not showing up, or B) find the files that are not showing up and use them as I intended to. I am loosing space because of this. Option of last(and I mean last) resort is a hard rest which I don't like to do. Thank you....
Click to expand...
Click to collapse
get a good file browser and search for the missing files. You may want to use a wild card search (*.cab,*.mp3)
if you still can not find them look in the folders in /Windows and /Temp or or equivalent on the device
well i am using total commader so I dunno how good that is or not. Not to mention I have done what you suggested and even searched for files added with in the last 3 days and nothing on all fronts but yet the sapce is being taken up by something that I can't seem to find on my device. Memory maid was no help either(granted I only did a clean up). But thank you.
have you tried using the default file explorer?

Android file management idea

I have noticed that android apps are horrible with file management. When you install an app on the phone it installs a whole new file hierarchy.
Example... when you install Meme Generator it creates a memegenerator folder within that folder it caches Favorites, Instances, Generators, and shares
when you delete the app it doesn't remove this folder or any of its contents​
My idea is an app that would scan folders and mark if the folder is useless or not. Especially the unknown data folders that say something like com.fatsecret.android and have nothing but random .dat files or a .nomedia folder/file. Almost like a registry checker for a PC.
Another idea is to have an app that scans the SD card and locates all media. It would tell you how many of what type of file you have on your phone, and allow you to mass move to selected folders (Not copy or transfer but actually move th file to its new location)
im no programer but these would be great apps if they were to be developed
It would be really great man, unfortunately, I'm not able to develop things like this, but let me know about if it's ready.
Sent from my Boston using XDA App Slovakia
Lmfao i neglected to mention I am only beginning to learn the android programming. So im in no position to even comprehend programming this ... but im researching the possibility.
Smells like WINNING from my T-959 xda premium app
File management is very messy at the moment. Something needs to give!
I agree, I've been looking for a decent file manager, but haven't found anything yet!
theblacknight said:
I agree, I've been looking for a decent file manager, but haven't found anything yet!
Click to expand...
Click to collapse
There are quite a few but 'Astro' seems to be the most popular. Give it a try!
I use Astro and i'm quite happy with it.
The question would be how to determine useless folders.
Dark3n said:
The question would be how to determine useless folders.
Click to expand...
Click to collapse
My initial idea was to use a system similar to a windows registry. Once the app starts for the first time it will create a database that stores folder data, which then it tries to match to an app that installed it. If the folder shows that the app that created it has been deleted it shows a red folder or has a negative mark next to it, if its still installed it shows a positive or green folder. This way you can get rid of the bad folders.
My second idea was to have an app create a drop folder for certain file types. For instance a folder like MY DOCUMENTS that has the folders MUSIC, PICTURES, AND VIDEOS. When the app starts it has you select a folder to drop a specific file type (example .MP3 files into MY DOCUMENTS/MUSIC). The all then media scans the phone and locate all matching file types and MOVES the file not COPYS.
Smells like WINNING from my T-959 xda premium app
Something kinda similar to what you want was introduced in FroYo. It gives each app a directory (on the SD card I don't know about onboard memory) that is automatically deleted by the system when the app is installed. Currently it has a few fairly big bugs but hopefully they will get fixed and developers will start to use it.
coreyja said:
Something kinda similar to what you want was introduced in FroYo. It gives each app a directory (on the SD card I don't know about onboard memory) that is automatically deleted by the system when the app is installed. Currently it has a few fairly big bugs but hopefully they will get fixed and developers will start to use it.
Click to expand...
Click to collapse
That sounds liie it will be excellent once its implemented. I'm sure as most new things take time to catch on this will probably take a little while for it to happen. Maybe Google is going to make it mandatory for devs to do this.
Smells like WINNING from my T-959 xda premium app
It wouldn't necessarily have to be an app but some process that would make create or add to (create a sub-directory) default folders. I'm not saying it has to be a window like system but as simple as it gets Music, Images, Documents, Downloads maybe a spare folder for necessary background files (Hidden) But accessible when needed. The biggest problem here is that I don't think too many people that want this solution are programmers. because if you know how to program then you spend all day sorting throu this stuff anyway.
Well i'm on 2.2.1 and the system still keeps the settings folders in /dbdata/databases/*packagename* after you uninstalled it.
I usually resort to deleting the folders in adb shell when programming and testing apps.
So it seems there is need for this and there is no such tool yet?
I might start on it then, do you think there is enough intrest in something like that?
Help me with the most difficult and important step, invent a name for such an app !
Sounds like a useful tool. Great idea.
I'm constantly searching through my sd card and trying to figure out what can be deleted.
Sent from my PC36100 using XDA App
mobbeel said:
I use Astro and i'm quite happy with it.
Click to expand...
Click to collapse
Have you tried file expert? So much functionality for free.
Sent from my PC36100 using XDA App
Dark3n said:
Well i'm on 2.2.1 and the system still keeps the settings folders in /dbdata/databases/*packagename* after you uninstalled it.
I usually resort to deleting the folders in adb shell when programming and testing apps.
So it seems there is need for this and there is no such tool yet?
I might start on it then, do you think there is enough intrest in something like that?
Help me with the most difficult and important step, invent a name for such an app !
Click to expand...
Click to collapse
Name ideas
-sd looter
-Datei Objekts (file objects in German)
-file euphoria
-Zen management
-SD filed or SDefiled
Just a few to spark interest.
Smells like WINNING from my T-959 xda premium app
Allright, here we go:
http://forum.xda-developers.com/showthread.php?t=1013063
First version is out, please help me test it.
This needs to be created. I'm just sorry I can't do any of the programming.
Just Incredible

25000 .txt files - problem

Hi,
I am musician and have big lyric collection, around 25.000 files.
They are all saved in .txt format.
Since i got Transformer idea was to have it with me on my gigs instead of having huge 17inch laptop.
I tried to copy files, from external HDD, over WIFI, from SD card ... and its taking so long, last time i stopped it after almost an hour of transfer. And i think i got only around 3000 files copied.
Do you have suggestion on how to quickly copy/manage all those files on tablet? (no problems on PC whatsoever )
I appreciate your help.
Thank you.
Buy a damn fast SD card and reader, and copy the files to the SD card through the PC.
Or get an USB HDD and plug it into the TF.
Copying millions of small files always takes ages, and flash chips are especially bad at this. And the flash chips in the TF isnt exactly the fastest performing available.
Even my SSD disc on my PC slows down a lot during small-file writing (sometimes as low as 10MB/sec, compared to ~530MB/sec on larger files).
So basically, copy them within, to or from the tablets internal memory will take years. Only "solution" would be to zip all the files so you end up with 1 big zip file instead of 25k small files.
Thanks for answer.
As i mentioned, i tried to copy them from external USB Hard Drvie, as well as SD card, Class 10.
I forgot to mention that i tried to zip/rar files, copy to internal SD and then extract to a folder. Same thing happens. Veeeeery slow. Takes ages.
Yeah, the issue is youre writing to the internal memory, which isnt capable of writing very fast.
Your best solution would be to just keep the files on the USB HDD (if you got USB port for your TF) or the external SD card
Not to mention that transfers of many small files is generally the slowest of all, where large single files are generally much more efficient. No matter what you do, you still can't avoid that problem. My suggestion would be to do as others have said and connect the SD card directly to your computer, transfer them, and then put the SD in your transformer.
looks like that will be my only option
thank you guys
Sent from my Transformer TF101 using XDA
akyboy said:
Hi,
I am musician and have big lyric collection, around 25.000 files.
They are all saved in .txt format.
Since i got Transformer idea was to have it with me on my gigs instead of having huge 17inch laptop.
I tried to copy files, from external HDD, over WIFI, from SD card ... and its taking so long, last time i stopped it after almost an hour of transfer. And i think i got only around 3000 files copied.
Do you have suggestion on how to quickly copy/manage all those files on tablet? (no problems on PC whatsoever )
I appreciate your help.
Thank you.
Click to expand...
Click to collapse
dont know if this method will help but, you could use 7zip to compress the files into 1 file from a PC, there is a 7zip app for android that can open it up and view the files. so you dont have to uncompressed it on the tablet
7zip http://www.7-zip.org/download.html
7zip on anrdoid https://play.google.com/store/apps/details?id=ru.zdevs.zarchiver&feature=search_result#?t=W251bGwsMSwxLDEsInJ1LnpkZXZzLnphcmNoaXZlciJd
with 25k files, i think you need database. may help make it easier to search and sort through so much data.
*Phi* said:
7zip http://www.7-zip.org/download.html
7zip on anrdoid https://play.google.com/store/apps/...=W251bGwsMSwxLDEsInJ1LnpkZXZzLnphcmNoaXZlciJd
with 25k files, i think you need database. may help make it easier to search and sort through so much data.
Click to expand...
Click to collapse
Tnx for tip, i will try 7zip definitely!!
Regarding Db,.. thats the problem i am trying to find db app or similar for 3 years now. Wanted to do this on my cell phone too.
On windows i simply use TreePad software and everything is in one big file, search-able(indexed) so i can search for any word inside text and i will get results in matter of seconds.
I wish there is something similar available on android
akyboy said:
Tnx for tip, i will try 7zip definitely!!
Regarding Db,.. thats the problem i am trying to find db app or similar for 3 years now. Wanted to do this on my cell phone too.
On windows i simply use TreePad software and everything is in one big file, search-able(indexed) so i can search for any word inside text and i will get results in matter of seconds.
I wish there is something similar available on android
Click to expand...
Click to collapse
well, if you looking for a db app these isnt any out there as far as i know, BUT
http://paw-android.fun2code.de/
you could try this. its like running a mini web server on your tf. and it allows you to make connections to sqlite, which is already built into android. so in theory you could be able to make a web app that stores your lyrics and allows you to access it via web browser on your tf (offline too).
it can run PHP, i've only used it to run web pages for demos nothing really heavy. never tried connecting to sqlite though.
http://www.vogella.de/articles/AndroidSQLite/article.html
if you are interested.
Tnx for answer Phil,...
I tried, and still have PAW setup on my tablet with PHP module installed.
There is option in dB program i use on Windows (TreePad) to export searchable (requires php) WebPage of my database, but looks like that their export is kinda buggy and That Exported site sometimes works sometimes doesnt. I contacted them and i am waiting for their answer.
I am still looking for something in this regards,... any other ideas or solutions is appreciated!
Thank you

Categories

Resources