The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > AIX
Google UNIX.COM


AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Weird date difference problem meeraKh Shell Programming and Scripting 22 03-12-2008 08:50 PM
Weird crontab problem RobSand SUN Solaris 8 10-09-2007 02:12 PM
Weird File rahulrathod UNIX for Dummies Questions & Answers 5 01-20-2006 07:28 AM
weird problem with removing files rein UNIX for Advanced & Expert Users 2 08-15-2005 04:51 AM
Weird Problem??? danhodges99 UNIX for Dummies Questions & Answers 2 04-11-2003 08:05 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 04-21-2008
Registered User
 

Join Date: Apr 2008
Posts: 5
weird file list problem

When I do a file list in my spooler directory, I get the following
information
#ls -l |pg
-rw-rw-rw- 1 user1 ugroups 831690 Apr 03 12:52 K6A80403125051.prn :res 2330479869879093344 ext 2330477052380546512 align
-rw-rw-rw- 1 user1 ugroups 5900 Apr 03 14:19 K6A80403141858.idx :res 2330595387319513456 ext 2330592569820966624 align
-rw-rw-rw- 1 user1 ugroups 213772 Apr 03 14:19 K6A80403141858.prn :res 2330710904759933568 ext 2330708087261386736 align
-rw-rw-rw- 1 user1 ugroups 4744 Apr 03 16:05 K6A80403160554.idx :res 2330826422200353680 ext 2330823604701806848 align

I would like to know what is :res 2402755442114055840 ext 2402752624615509008 align
and how to fix this problem.
Thanks

JMMora
Reply With Quote
Forum Sponsor
  #2  
Old 04-21-2008
grial's Avatar
El UNIX es como un toro
 

Join Date: Jun 2006
Location: Madrid (Spain)
Posts: 531
That's part of the filename.
I suppose the problem is the white spaces on it, isn't it? Anyway, what's the problem?
Reply With Quote
  #3  
Old 04-21-2008
Registered User
 

Join Date: Apr 2008
Posts: 5
Yes is part of the name we are expected only the following

-rw-rw-rw- 1 user1 ugroups 831690 Apr 03 12:52 K6A80403125051.prn
-rw-rw-rw- 1 user1 ugroups 5900 Apr 03 14:19 K6A80403141858.idx
-rw-rw-rw- 1 user1 ugroups 213772 Apr 03 14:19 K6A80403141858.prn
-rw-rw-rw- 1 user1 ugroups 4744 Apr 03 16:05 K6A80403160554.idx

I mean without the " :res 2330479869879093344 ext 2330477052380546512 align " part because I you try to copy, move or even use FTP you will the error "file doesn't exist".
Reply With Quote
  #4  
Old 04-21-2008
grial's Avatar
El UNIX es como un toro
 

Join Date: Jun 2006
Location: Madrid (Spain)
Posts: 531
Well, I do not know why you are naming those files that way. At least not with the info you are providing us with... But I can tell you how to manage with those files. Two options, as far as I know:
- Name them using a back slash before the white space:
ls K6A80403125051.prn\ :res\ 2330479869879093344\ ext\ 2330477052380546512\ align
- Use quotes:
ls "K6A80403125051.prn :res 2330479869879093344 ext 2330477052380546512 align"

Back to the reason for that filenames, how are them being created? by a script? program? Tell us, so that we can help you.

Regards.
Reply With Quote
  #5  
Old 04-21-2008
Registered User
 

Join Date: Apr 2008
Posts: 5
Unhappy

Usually the file is created by a program, however I did a test going to the spooler directory and create a files named test with the following command.

$> banner test >test
$> ls -d test
-rw-r--r-- 1 user1 ugroups 184 Apr 21 11:51 test :res 2830710304859933568 ext 2338726239841386736 align

I don't know from where is coming the part :res 2830710.......
Reply With Quote
  #6  
Old 04-29-2008
Registered User
 

Join Date: Apr 2008
Posts: 5
I am Still looking for a solution.
Reply With Quote
  #7  
Old 04-29-2008
Registered User
 

Join Date: Sep 2006
Posts: 208
Are you sure you are using the right ls command, try it will a full path.

The output you see seems to be from the ls -El command.

Check the man page for the -E switch.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 10:57 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0