Sponsored Content
Top Forums UNIX for Dummies Questions & Answers [Solved] Downloaded file is not correct format Post 302828665 by nag_sathi on Wednesday 3rd of July 2013 02:16:18 AM
Old 07-03-2013
[Solved] Downloaded file is not correct format

Hi,

Recently we migrated an application in HP UX to Linux. The files(scripts & logs)download from HP UX coming in a formatted way in MS notepad. However the files in Linux are not in correct format in MS notepad(No spaces , some spl symbols like square).We tried both ASCII and binary but no use.File Downloaded by using FileZila

Surprising thing was it is in formatted way in notepad++. How ever we are not supposed to use notepad++. Please help

HP UX -
Code:
Load Started  Tue Jul 2 05:46:56 METDST 2013
Loading  Receipts and Shipments
 rollback segments

SQL*Plus: Release 8.1.7.0.0 - Production on Tue Jul 2 05:46:56 2013

(c) Copyright 2000 Oracle Corporation.  All rights reserved.


Linux --
Code:
Load Started  Tue Jul 2 15:52:18 CEST 2013Loading Receipts and Shipments rollback segments SQL*Plus: Release 11.2.0.3.0 Production on Tue Jul 2 15:52:18 2013 Copyright (c) 1982, 2011, Oracle.

Thanks

Last edited by nag_sathi; 07-03-2013 at 03:21 AM.. Reason: added notes - filezila
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Correct format in a log file

I'm trying to read the output of a .sql script (simple insert and commit oracle pl/slq script) to a log file using a shell script. My problem is I end up with a log file that looks like this: sd12@phenix97:/detain/sd12/logs > cat 20071205_detain_20071206.log 12320496 rows created. Commit... (11 Replies)
Discussion started by: sd12
11 Replies

2. Shell Programming and Scripting

AWK CSV to TXT format, TXT file not in a correct column format

HI guys, I have created a script to read 1 column in a csv file and then place it in text file. However, when i checked out the text file, it is not in a column format... Example: CSV file contains name,age aa,11 bb,22 cc,33 After using awk to get first column TXT file... (1 Reply)
Discussion started by: mdap
1 Replies

3. Shell Programming and Scripting

Exit if date not in correct format

Can somone take a look at this script for me - I'm trying to get it to exit if the format of dateToLookFor is not in the format YYYYMMDD: function search { cd $logsloc echo "Enter date in format YYYYMMDD (enter to exit):" read dateToLookFor echo $dateToLookFor | grep -q ... (2 Replies)
Discussion started by: rich@ardz
2 Replies

4. Shell Programming and Scripting

Correct a pattern format using sed

hi all I have a file with many lines like aa;bb;cc;dd;ee bb;aa;dd;ee;bb cc;ee;bb;dd;aa ee;cc;bb;aa;dd . . . etc The first line is in right format,Please help me how to use "SED" to change the rest of the lines to the format like line 1 thank all! (1 Reply)
Discussion started by: yuesko
1 Replies

5. Shell Programming and Scripting

Dates not comparing correct even the same format

I have the date of the file passed into a variable also current date formatted same passed into a separate variable and compare the two with an if statement and statement always comes up false. Even though I verified the dates. Any help would be awesome. Filecrtdate=`ls -l $i | awk '{print... (19 Replies)
Discussion started by: coderanger
19 Replies

6. Shell Programming and Scripting

How to check if date format is correct?

Hi! how do i know if the input is the same as the required date format? the date should be dd/mm/YYYY ex. 2/3/2012 or 15/11/2012 all the following conditions must return an error: *input of string *day is > 31 or < 1 *month is > 12 or < 1 *year is < 2013 suppose the date format is stored... (1 Reply)
Discussion started by: angilulu
1 Replies

7. Shell Programming and Scripting

Html output in correct format

Hi, I am running two scripts as below. In Script 1 i am getting correct output in proper HTML format while in script 2 i am not getting output in mail and only html code is getting printed.I want to get the output of script 2. Please guide. 1.IFILE=/home/home01/Report.csv if #Checks... (7 Replies)
Discussion started by: Vivekit82
7 Replies

8. Shell Programming and Scripting

Output not in correct format - cd script

I have a script that looks like this: dirname2=/usr/tmp/filelist/*/* for dirname2 in /tmp/filelist/*/*; do (cd $dirname2/catalog ||echo "file does not exist" && echo "$dirname2" |cut -d '/' -f 7,8 && echo $i && ls -la |awk 'NR>3 {SUM += $5} END { print "Total number of kb " SUM }');done... (2 Replies)
Discussion started by: newbie2010
2 Replies

9. Shell Programming and Scripting

Extract the correct format of file Name

All, Objective : Extract the correct format of a file name. Please share the script command which will extract the correct format of the file after untarring. Example : If the file is of .csv format then extract filename.csv if the file is having .CSV then extract the same.CSV if the file... (1 Reply)
Discussion started by: Mahesh G
1 Replies

10. Shell Programming and Scripting

How to check user entered correct file format or not?

Hi Experts, path=/db/files/ format=$1 User can enter any file format.compare the user file format with actual file format existed in the directory /db/files. User enter all characters as "A" apart from date format. example1: user will be entering the file format AAA_AA_YYYYMMDD.AAA Actual... (6 Replies)
Discussion started by: nalu
6 Replies
VFS_TSMSM(8)						    System Administration tools 					      VFS_TSMSM(8)

NAME
vfs_tsmsm - VFS module for handling offline files with Tivoli Storage Manager Space Management SYNOPSIS
vfs objects = tsmsm DESCRIPTION
This VFS module is part of the samba(7) suite. The tsmsm VFS module is an extension for handling offline files with Tivoli Storage Manager Space Management. It tries to avoid calling expensive DMAPI calls with some heuristics based on the fact that number of blocks reported of a file multiplied by 512 will be bigger than 'online ratio' of actual size for online (non-migrated) files. If heuristic check fails, the module calls DMAPI and asks for a specific attribute which is present for offline (migrated) files. If this attribute presents, the file is considered offline. This module is not stackable. OPTIONS
tsmsm:hsm script = [ path to hsm script ] hsm script should point to a shell script which accepts two arguments: operation and filepath. the tsmsm module only uses "offline" for operation to set the file under filepath offline. tsmsm:online ratio = [ number ] Ratio to check reported size against actual file size. The default value is 0.5. tsmsm:dmapi attribute = [ attribute-name ] Name of a DMAPI attribute that is present when a file is offline. The default is "IBMobj" (which is what GPFS uses). tsmsm:dmapi value = [ value for the DMAPI attribute ] Value that the DMAPI attribute should have for the file to be considered offline. The default is empty (no value required). EXAMPLES
A GPFS mount with TSM support can be exported via Samba as follows: [gpfs_tsm_share] vfs objects = tsmsm gpfs path = /test/gpfs_mount VERSION
This man page is correct for version 4.0 of the Samba suite. AUTHOR
The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed. Samba 4.0 06/17/2014 VFS_TSMSM(8)
All times are GMT -4. The time now is 06:26 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy