Hi All,
I have a situation where I need to copy the files having the latest date.
For example I have a file by name bas100e1_jun05. I need to copy it to bas100e1. But when a file by name bas100e1_jul05 is put in the same directory the script should copy the file having the latest month which... (34 Replies)
I want to loop through files in a directory but omit the file with the latest date in my list of files. How would I accomplish this?
Thanks (2 Replies)
Guys,
I've got a quick logic question. I'm pretty savvy when it comes to shell scripting, however, I'm at a loss when it comes to writing a simple shell script to backup only certain files out of the month. I have a directory, for example, /data/backups/websites/domain. In each "domain"... (5 Replies)
Hi everyone,
Please help:)
I have a list of 1000 different files which comes daily to the directory.Some of
the files are not coming to the directory now.
I need to write a shell script to find the latest date and time of the files they
came to the directory. The files should be unique.... (1 Reply)
Hi,
I grep for a pattern in a list of files.
"grep -i -l $pattern *.datx*"
it may give me n number of files.
say for eg, it gives me 2 files.
lock_eicu_20071228_00000000.dat_20071228_05343100
lock_eicu_20080501_00000000.dat_20080501_05343900
out of these 2 files I need to get the... (7 Replies)
hi all,
not sure if this has been posted b4 but i try to search but not valid.
this is my question:
when i do a ls -ltr there will be a list generated as follows:
-rw-r--r-- 1 root sys 923260 Jan 10 04:38 FilePolling.41025.083TL021.xml
-rw-r--r-- 1 root sys 1761337 Jan 10 04:40... (12 Replies)
Hi Folks,
I have one query that there is a folder in which daily several logs files are getting created , I reached to that location through putty but what I observer that 10 files of different date are been created with same name , what I need to see is the latest file ...let say the location is ... (5 Replies)
HI
I have folder in home dir.
/home/kpp/07222013
/home/kpp/07212013
/home/kpp/07202013
Output :--
/home/kpp/07222013
Just find latest date (5 Replies)
Discussion started by: pareshkp
5 Replies
LEARN ABOUT DEBIAN
avra
avra(1) Atmel AVR Assembler avra(1)NAME
avra - Assembler for the Atmel AVR microcontroller family
SYNOPSIS
avra [-f] [O|M|I|G] output file type
[-o outfile] output file name
[-l listfile] generate list file
[-m mapfile] generate map file
[--define symbol[=value]] [--includedir dir] [-listmac]
[--max_errors number] [--devices] [--version]
[-h] [--help] general help
infile
DESCRIPTION
AVRA is an assembler for Atmel AVR microcontrollers, and it is almost compatible with Atmel's own assembler AVRASM32. The differences
between the two are:
Support for some extra preprocessor directives.
includes: .define, .undef, .ifdef, .ifndef, .if, .else, .endif, .elif, .warning
Not all command line options are supported.
Specifying an eeprom file (-e) is not supported. All eeprom data is put out into a file called program.eep.hex and always Intel hex
format. Other hex file formats than Intel are currently not supported.
Forward references are not supported.
Like in C, you have to define everything before you are using it, excepting labels. This makes sure, that directives like .ifdef and
.undef are working properly. If you are familiar with the C programming language, you should get easily into AVRA. See chapter "Pro-
gramming techniques" for more information about how to write proper code.
Enhanced macro support.
AVRA has some new features for writing flexible macros. This should increase the ability to reuse code e.g. build your own library.
Debugging support.
AVRA creates a coff file everytime the assembly was sucessful. This file allows AVR Studio or any coff compatible debugger to simu-
late or emulate the program.
Meta tags for assembly time.
This helps you tracking versions of your software and can also be used to generate customer specific serial numbers.
OPTIONS
Several option can be given after one '-', but if an option requires an argument; the argument must be given after that option.
--listfile, -l
Create list file
--mapfile, -m
Create map file
--define, -D
Define symbol.
--includedir, -I
Additional include dirs.
--listmac
List macro expansion in listfile.
--max_errors
Maximum number of errors before exit (default: 10)
--devices
List out supported devices.
--version
Version information.
--help, -h
Show summary of options.
SEE ALSO avrp(1)AUTHOR
The initial version of AVRA was written by John Anders Haugum. He released all versions until v0.7. All later versions were released by
Tobias Weber.
Atmel AVR Assembler Jan 23, 2006 avra(1)