![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace. |
|
|
||||
| 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 |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
That's part of the filename.
I suppose the problem is the white spaces on it, isn't it? Anyway, what's the problem? |
|
#3
|
|||
|
|||
|
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". |
|
#4
|
||||
|
||||
|
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. |
|
#5
|
|||
|
|||
|
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....... |
|
#6
|
|||
|
|||
|
I am Still looking for a solution.
|
|
#7
|
|||
|
|||
|
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. |
|||
| Google The UNIX and Linux Forums |