Computing.Net > Forums > Unix > Search Results

Quick Links

Computing.Net Solution Center
Desktop Access to Search
Ask a New Question

Sponsored Results for: Sort filename pick latest and delete rest

Ads by Google


Show Within: One Month | One Year | Forever
Search Results for: Sort filename pick latest and delete rest

Product Search Results


Results 1 - 25 of 6556

[higher confidence] - higher confidence, [lower confidence] - lower confidence

Sort filename pick latest and delete rest
    Summary: Hi All, I have a requirement something like this..there are set of files with name sample_plant_date..I need to sort in acesnding order based on pla...

Removing Duplicates
    Summary: In the previous reply, where did that $1 come from? It would be the last parameter to that shell, and if non-null, it would certainly not be welcome ...

Merging two data files
    Summary: I have some broblem about merging two files. this is my perl code which is not completed. $filename = "delete.txt"; unless ( -e $filename ) { print ...

filename problems
    Summary: I have a bit of script that i am having trouble with. In the filename there is a space after the first three letters then the rest of the filename fo...

Deletion of header trailor records
    Summary: A better way to delete last line would be: sed '$d' $filename > offertest.txt And to delete first and last line: sed '1d;$d' $filename > offertest.txt...

Sorting filenames
    Summary: I'm using the following command: find . -type f Which outputs a listing of files in the directory structure. How can I get the output to be sorted in ...

Delete folder
    Summary: Have a cron job running that creates a folder using -date +"%a" in /home dir and runs daily. Need a script that will go through /home and look for fol...

Sort/remove subsets in a script
    Summary: Hi there I have a file which I wish to sort the rows in and then remove lines that are a subset of other lines. For example, in the text file conta...

Script to delete lines from a file
    Summary: Do you need to delete the lines that include the patterns or just the lines inbetween? This perl command will do an inline edit of your file and dele...

deleting rows in a file
    Summary: Is there any way using the korn shell to delete all records in a file except one?? In other words if I had 6 lines in a file, could I issue one comma...

multiple filename as argument
    Summary: hi all, i have face new prolem in writing my bash script. my problem is that i want to write a script that will accept any number of arguments and ret...

delete blank line thro vi editor
    Summary: Hello Guru, How can I search and delete any blank lines within a file by vi editor? thanks ...

Trying to split up a large txt file
    Summary: Hello all, I've got a rather large txt here at work that we received from another company that I'm trying to get into a database. The file shows that ...

feteching MPlayer-skins in FreeBSD
    Summary: Sorry, I just checked in. Read carefully: I do not have a ample and sure solution to this, but: -install the skins and codecs separatelly. see /usr/po...

recursive delete
    Summary: Hi, I need to find files which matches a pattern (e.g. cache-*.dat) and delete them from all sub-directories recursively. Please help. Thanks. ...

file removing
    Summary: A challenging question, Mario. Maybe a unix administrator knows an easy way. I just wrote the following script, works fine on HP-UX. who /var/adm/wt...

Your Advice:CMD for cksum and filen
    Summary: Hi Can you please tell me the command for finding out on a unix box List of all filenames, file sizes and cksum values for all files and sub folders ...

sort command
    Summary: i need some help with the sort command. i want to make a one line command using redirection and pipes.i want to sort a file: file1 and file2 into file...

delete files in specific directory
    Summary: i have a directory "ABC" with lots of old files and sub directories in it. the issue now is i want to delete away files which are older than 15 days i...

Piping a binary file ONLINE?
    Summary: File transfers are relatively simple in PHP if you follow php.net, but you have to learn php first, so here's a few things to get you started: First, ...

Numerical sort with sort
    Summary: Thanks! Now it works... but unfortunately it appears that just first field it's actually used for sorting. The command line is: sort -n -k 1.44,1.48 -...

Help with sorting directory
    Summary: Try this: ls -1|sed 's/[A-Za-z]*/& /'|sort -k1,1 -k2n | sed 's/ //' I listed the directory, added a space after the first set of letters, sorted the f...

Idendifying duplicate records
    Summary: I see no clear method of doing this. My idea is to place each 2-line record into a file, compare the files and delete the duplicates. Here is a 3 ste...

corrupt partition table and MBR
    Summary: I have encountered a worst case scenario with on my Linux box. A Win95 program destroyed my partition table (and the rest of the master boot record)....

no filename
    Summary: Here is that logic using a case statement: #!/bin/sh case $# in 1) filename=$1;; 0) echo "Please enter filename: \c" read filename morestuff ...

Jump To: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | >>

Sponsored Results for: Sort filename pick latest and delete rest

Ads by Google