Sponsored Content
Top Forums Shell Programming and Scripting Shell Script for moving 3 days old file to Archive Folder Post 302453037 by phani333 on Monday 13th of September 2010 11:57:39 PM
Old 09-14-2010
Dear Frank,

I am a SAP Developer, I have very little knowledge of Unix scripts. I will try to find out from the unix help. Thank you.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Generic Shell Script to Archive a file

Would appreciate if any one can paste a generic schell script to archive a file with date stamp by passing the file with fullpath as parameter For Eg. /apps/scripts/Archive_File.sh /data_home/project_home/file.txt this should place the file in the following directory ... (8 Replies)
Discussion started by: mak1600
8 Replies

2. Shell Programming and Scripting

need shell script for moving file one by one

#SD=source dir TD= target dir SD="$/amddev/app01/manoj/new/scripts/old" TD="$/amddev/app01/manoj/new/scripts/new" EXT="$*.txt" for i in `ls -F "$SD"/*"$EXT"|grep -v /$` do mv "$SD" "$TD" if then echo "$i" successfully moved echo Manoj successfully..1 ( here i... (8 Replies)
Discussion started by: manojkarthi
8 Replies

3. Shell Programming and Scripting

shell script for moving all the file from the same folder

Hi , I need a shell script which basicaly moves all the files from one folder say folder x to folder y and once they are moved to folder y a datetimestamp should be attached to there name for ex file a should be moved to y folder and renamed as a_20081015 (1 Reply)
Discussion started by: viv1
1 Replies

4. Shell Programming and Scripting

Script for moving files from one folder to other

Hi All I need a shell script for move the 1 year old files from one folder to another folder with date and time. How to write a shell script for the same pls hepl me out. thanx in advance Thanx Lalit (2 Replies)
Discussion started by: lalitkumar
2 Replies

5. Shell Programming and Scripting

Script for moving files from one folder to other

Hi I need to move last 1 year old files from one folder to another location on same server.How to write a shell script for the same? thanx Lalit (8 Replies)
Discussion started by: lalitkumar
8 Replies

6. Shell Programming and Scripting

moving log file into Archive directory

Hi All, I'm trying to write a script which will do following : - For any old log under trace directory, if found move it to Archive - Check for a process “process-A” if it is running abort from the script - Else start it up (start_process-A.sh this case) - If it fails to start the... (1 Reply)
Discussion started by: mohullah
1 Replies

7. Shell Programming and Scripting

Shell script to call Oracle archive backup script when file system reaches threshold value

Hello All, I need immediate help in creating shell script to call archivebkup.ksh script when archive file system capacity reaches threshold value or 60% Need to identify the unique file system that reaches threshold value. ex: capacity ... (4 Replies)
Discussion started by: sasikanthdba
4 Replies

8. Ubuntu

Shell Scripting , Moving Old file to specific folder

There are files stored like 14.Aug.2014.log, 15.Aug.2014.log etc. in a folder $HOME/logyou need to find out all the log files of last 1 month and move them into $HOME/logs/lastmonth/ this should be implemented with reference of file name. ---------- Post updated at 12:30 PM ----------... (3 Replies)
Discussion started by: shajoftaj
3 Replies

9. Homework & Coursework Questions

Shell Scripting , Moving Old file to specific folder

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: There are files stored like 14.Aug.2014.log, 15.Aug.2014.log etc. in a folder $HOME/log you need to find out all... (4 Replies)
Discussion started by: shajoftaj
4 Replies

10. Shell Programming and Scripting

Shell scripting for moving folder specific files into target directory of that country folder.

I need help to write shell script to copy files from one server to another server. Source Directory UAE(inside i have another folder Misc with files inside UAE folder).I have to copy this to another server UAE folder( Files should be copied to UAE folder and Misc files should be copied in target... (3 Replies)
Discussion started by: naresh2389
3 Replies
SAP(7)								   Miscellaneous							    SAP(7)

NAME
sap - Service Access Point specification DESCRIPTION
The text2sap and sap2text functions use the format described in this man page. Because all standard ATM tools on Linux use those functions to convert to or from the textual representation of SAP specifications, they expect them in the same format too. The SAP is divided into two parts: the broadband high layer information (BHLI) and the broadband low layer information (BLLI). A SAP can contain one, both, or none of them. In the latter case, the SAP is usually considered as a wildcard SAP, i.e. a SAP that is compatible with any other SAP. Each part begins with its name (bhli or blli), followed by a colon and a (non-empty) list of attributes, which are of the form attribute=value. Some attributes have sub-attributes, which follow them. Everything that isn't separated by a colon or an equal sign is separated by a comma. Values which are a number of bytes are specified as the corresponding sequence of pairs of hex digits. The sequence can be optionally pre- fixed with 0x. Values with are integers in a given range can be specified in decimal (no prefix), octal (0 prefix), and hexadecimal (0x prefix). The following, mutually exclusive attributes are allowed in the bhli part (see the corresponding ATM Forum and ITU documents for the seman- tics): iso=1-8 bytes ISO user=1-8 bytes User-specific hlp=4 bytes High layer profile. Note that this attribute only exists on UNI 3.0. text2sap only recognizes it if your system is configured to accept UNI 3.0 message formats. oui=3 bytes,id=4 bytes Vendor-specific application identifier The structure of the bhli part is more complex. It distinguishes three layers, l1, l2, and l3, of which the first one is presently unsup- ported. For layer two, the following (mutually exclusive) possibilities exist: l2=iso1745 Basic mode ISO 1745 l2=q291 ITU-T Q.291 (Rec. I.441) l2=lapb Extended LAPB, half-duplex (Rec. T.71) l2=iso8802 LAN LLC (ISO/IEC 8802/2) l2=x75 ITU-T X.75, SLP l2=x25_ll ... ITU-T X.25, link layer. This attribute and the following attributes through l2=iso7776 can optionally be followed by one or more of the following sub-attributes: mode=mode (mode of operation, either norm or ext), and window=window size (window size in k, 1-127). l2=x25_ml ... ITU-T X.25, multilink l2=hdlc_arm ... HDLC ARM (ISO/IEC 4335) l2=hdlc_nrm ... HDLC NRM (ISO/IEC 4335) l2=hdlc_abm ... HDLC ABM (ISO/IEC 4335) l2=q992 ... ITU-T Q.922 l2=iso7776 ... ISO 7776 DTE-DTE l2=user,info=information User-specified. information is an integer in the range 0 to 255. For layer three, the following (again, mutually exclusive) possibilities exist: l3=iso8473 ITU-T X.233 | ISO/IEC 8473 l3=t70 ITU-T T.70 minimum network layer l3=h321 ITU-T Recommendation H.321 l3=x25 ... ITU-T X.25, packet layer. This attribute and the following attributes through l3=x223 can optionally be followed by one or more of the following sub-attributes: mode=mode (see above), size=default packet size (4-12, corresponding to 16-4096), window=window size (see above). l3=iso8208 ... ISO/IEC 8208 l3=x223 ... ITU-T X.223 | ISO/IEC 8878 l3=tr9577,ipi=identifier ... ISO/IEC TR 9577. identifier is the initial protocol identifier in the range 0-255. For SNAP (0x80), the keyword snap can be used, and the following sub-attributes have to be specified: oui=3 bytes, and pid=2 bytes. l2=user,info=information User-specified, see above. l3=h310 ... ITU-T Recommendation H.310. The sub-attribute term=type (terminal type, rx, tx, or rxtx) is recognized. If present, it enables the two additional sub-attributes fw_mpx=capability (forward multiplexing capability, ts, ts_fec, ps, ps_fec, or h221) and bw_mpx=capa- bility. Both are optional. Note that commas must never follow colons or other commas. Also, whitespace is not allowed inside a SAP specification. SAP specifications are case-insensitive. On input, items must be written in exactly the order used in this document. EXAMPLES
blli:l2=iso8802 Classical IP over ATM (RFC1577) bhli:oui=0x0060D7,id=0x01000001,blli:l2=iso8802 Arequipa (RFC2170) blli:l3=tr9577,ipi=snap,oui=0x00A03E,pid=0x0002 LAN Emulation AUTHOR
Werner Almesberger, EPFL LRC <werner.almesberger@lrc.di.epfl.ch> Linux November 6, 1997 SAP(7)
All times are GMT -4. The time now is 12:58 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy