|
View previous topic :: View next topic
|
| Author |
Message |
BIGJ420COOLDUDE

Joined: 04 Dec 2007
|
Posted: Sat Apr 11, 2009 10:49 pm |
|
|
dais i think you would do well to load up a linux livecd. i'm not a shell script genius but this would get you started:
| Code: |
| find /media/whereeveryourNTFSdrivemountedto/ -exec file {} \; | grep "Word||ASCII||Zip||Rar" |
that is, it'll use 'find' to list the entire contents of your drive and execute 'file' on them, which prints the type of file it is. then it greps that output for the filetypes you're looking for. you'll need to change that around a little bit to suit exactly what you're looking for. also i'm in vista right now so i can't verify if it works at all or if those grep strings will actually match file's output. |
|
| Unfilter / Back to top |
|
 |
BIGJ420COOLDUDE

Joined: 04 Dec 2007
|
Posted: Sat Apr 11, 2009 10:51 pm |
|
|
| btw file will check file contents, not extensions to determine what exactly it is |
|
| Unfilter / Back to top |
|
 |
BIGJ420COOLDUDE

Joined: 04 Dec 2007
|
Posted: Tue Apr 14, 2009 9:11 pm |
|
|
| km are you still on gentoo. i switched to arch because gentoo is literally a pile of shit |
|
| Unfilter / Back to top |
|
 |
BIGJ420COOLDUDE

Joined: 04 Dec 2007
|
Posted: Thu Apr 16, 2009 4:43 am |
|
|
| km wrote: |
| I tried Arch a two weeks ago and it was such a pile of shit I switched back to Gentoo. The packaging system is godawful. |
whats wrong aside from it being obnoxious to search. or do you not like the idea of tarballs extracting to root or whatever. idk its pretty bangin for my shitty netbook. small and no compile times.
started using ratpoison too and its totally screen: the wm. |
|
| Unfilter / Back to top |
|
 |
BIGJ420COOLDUDE

Joined: 04 Dec 2007
|
Posted: Thu Apr 16, 2009 4:48 am |
|
|
falsedan use dd_rhelp not dd if dais actually ever follows through on this
km what the fuck is kms |
|
| Unfilter / Back to top |
|
 |
BIGJ420COOLDUDE

Joined: 04 Dec 2007
|
Posted: Thu Apr 16, 2009 4:51 am |
|
|
| i have no idea why any legit linux user would bother with a "desktop environment." do you really need the clock that bad? manual window management helps me focus. |
|
| Unfilter / Back to top |
|
 |
BIGJ420COOLDUDE

Joined: 04 Dec 2007
|
Posted: Thu Apr 16, 2009 4:32 pm |
|
|
yeah arch definitely could use some more stuff in its repos, though if i needed something that wasn't there i'd just do the old-school compile rather than worrying about whether it was registering its contents to pacman (as is what i assume those bash scripts are doing).
native res fbcon sounds really great. i'm not really familiar with kernel compiling outside of gentoo but i guess i'll give it a shot in arch. hope it's easy to get a standard .config file (or do they just check every option that isnt EXPERIMENTAL or DEPRECATED or w/e?) |
|
| Unfilter / Back to top |
|
 |
BIGJ420COOLDUDE

Joined: 04 Dec 2007
|
Posted: Thu Apr 16, 2009 11:34 pm |
|
|
| i mean it would be cool to just start from the .config that's used for arch downstream and change whatever i need for kms and to fix whatever options got obsoleted |
|
| Unfilter / Back to top |
|
 |
BIGJ420COOLDUDE

Joined: 04 Dec 2007
|
Posted: Thu Apr 16, 2009 11:36 pm |
|
|
| btw have you gotten bash-completion? it rules. |
|
| Unfilter / Back to top |
|
 |
|