Search Results

Search: Posts Made By: littleIdiot
3,715
Posted By littleIdiot
awk arrays can do this better - but how?
Hi,

I have spent the afternoon trawling Google, Unix.com and Unix in a Nutshell for information on how awk arrays work, and I'm not really getting too far.

I ahve a batch of code that I am...
8,106
Posted By littleIdiot
Thanks. no time to check it right now - but will...
Thanks. no time to check it right now - but will try on Monday.
8,106
Posted By littleIdiot
Ideally I'd be running this script on both Linux...
Ideally I'd be running this script on both Linux and Unix machines, but realise that this is going to make it harder, so trying to stick to Linux for now.

So in short - yes.
8,106
Posted By littleIdiot
find command: various date ranges
Hi,

I have writtena script that will recursivly go into subdirecotries and report out what files there are in there that have not been accessed over various date ranges.

I do this using a...
5,727
Posted By littleIdiot
Hmm - ok. I'll look into how to do that (re LGPL...
Hmm - ok. I'll look into how to do that (re LGPL / CC) and then post what I have so far.

But right now it's time to go home and open a bottle of red ... thanks for all your help.
5,727
Posted By littleIdiot
Thanks for your help on this - much appreicated!...
Thanks for your help on this - much appreicated! Maybe I'll post my final script here (is that the done thing/pssible?)

So as long as I concentrate my find command to search files only, then maybe...
5,727
Posted By littleIdiot
Hmm - I'm not sure. I'm looking at a large file...
Hmm - I'm not sure. I'm looking at a large file system with many users. They use the system for generating files but also some users just access files that are used by differtent software packages to...
5,727
Posted By littleIdiot
Thanks for your reply. I've worked on this a fair...
Thanks for your reply. I've worked on this a fair bit yesterday and got a lot further than I thought I would.

I am using the find command to look through all files and directories, look at the...
5,727
Posted By littleIdiot
Detailed disk usage versus age summary
Hi,

I'm posting my question here as I fele that what I am about to try to do must have been done already, and I don't want to re-invent the wheel.

I have recently become responsible for...
12,889
Posted By littleIdiot
Spotted it mysekf: find ./ -type f -name...
Spotted it mysekf:

find ./ -type f -name "core.[0-9]*" ! -name "*.*[a-Z]*" ! -name "*snapshot*" -exec rm -f {} \;

note the change from lower case z to upper case Z, and the additional asterix...
12,889
Posted By littleIdiot
Ok, this seems to do the trick: find ./ -type f...
Ok, this seems to do the trick:
find ./ -type f -name "core.[0-9]*" ! -name "*.*[a-z]" ! -name "*snapshot*" -exec rm -f {} \;

Anyone spot any flaw in this?
12,889
Posted By littleIdiot
rm core files and pattern matching
Hi,

I am trying to delete a load of core files, but make sure I only delete core files. The system I am using has many files with core in the name, so I obviously can not simply search for "core"....
10,938
Posted By littleIdiot
A collegue found a work around - he created a...
A collegue found a work around - he created a link file in the top level directory (as root) that pointed to some other place, and when I ran the noraml untar, all the data came out as I wanted it.
...
10,938
Posted By littleIdiot
tar: extract single file to different filepath
Hi,

This is my first post here - I'm hoping I can get some help! I have searched these forums and othersand not getting anything that works.

I am trying to extract a single file from a tar...
Showing results 1 to 14 of 14

 
All times are GMT -4. The time now is 04:47 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy