Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Weird files that cannot be found

Status
Not open for further replies.

liwenkuo

Programmer
Oct 18, 2001
9
US
Hello all,

After doing a 'split' on a huge 3.3Gb file, I get a set of chunked files that look like this...
*********************
ls -l
total 13074568
-rw-r--r-- 1 gtmpost1 ftpcmr 691580724 Oct 18 20:20 chunked
aa
-rw-r--r-- 1 gtmpost1 ftpcmr 691723846 Oct 18 20:28 chunked
ab
-rw-r--r-- 1 gtmpost1 ftpcmr 691523015 Oct 18 20:35 chunked
ac
-rw-r--r-- 1 gtmpost1 ftpcmr 690416194 Oct 18 20:44 chunked
ad
-rw-r--r-- 1 gtmpost1 ftpcmr 572155011 Oct 18 20:52 chunked
ae
****************************************
ls -l -b
total 13074576
-rw-r--r-- 1 gtmpost1 ftpcmr 691580724 Oct 18 20:20 chunked\015aa
-rw-r--r-- 1 gtmpost1 ftpcmr 691723846 Oct 18 20:28 chunked\015ab
-rw-r--r-- 1 gtmpost1 ftpcmr 691523015 Oct 18 20:35 chunked\015ac
-rw-r--r-- 1 gtmpost1 ftpcmr 690416194 Oct 18 20:44 chunked\015ad
-rw-r--r-- 1 gtmpost1 ftpcmr 572155011 Oct 18 20:52 chunked\015ae
******************************************
I just cannot access these files for some reason. Tried "ls chunkedaa", "ls chunked\015aa", "ls chunked015aa" etc...

How do I access these files?

Thanks
Li
 
Have you tried:

view "filename"

-- actually using the double quotes?
 
Hello all,

Ok I've tried (view "chunked\015aa") with not avail.
Also tried "ls chunked*aa" which results in "aaunked" but when I use "ls aaunked", it says the file does not exist.

I will try to rename it using "rn chunked*aa fileaa".

Thanks for your help
Li
 
Try [tt]ls -l | cat -vte[/tt] to see the offending chars.
I hope it works...
Unix was made by and for smart people.
 
Hi ElgisRamon,

Ok I renamed the files to something at least readable using "mv chunked*aa newaa".

But here is an example anyways (sample of the directory listing)...
total 11724784$
-rwxrwxr-x 1 cmr ftpcmr 11704700 Aug 26 16:30 cmr01.delta$
-rwxrwxr-x 1 cmr ftpcmr 2987142 Oct 19 22:55 cmr_ascii.delta$
-rwxrwxr-x 1 cmr ftpcmr 4692570 Oct 08 12:25 cmr_ascii.delta_011008$
-rwxr-xr-x 1 gtmpost1 ftpcmr 3337398790 Oct 18 17:12 cmr_ascii.init$
-rw-r--r-- 1 gtmpost1 ftpcmr 691723846 Oct 22 10:48 cmr_init_abb^M$
-rw-r--r-- 1 gtmpost1 ftpcmr 691523015 Oct 22 11:36 cmr_init_ac$
-rw-r--r-- 1 gtmpost1 ftpcmr 690416194 Oct 22 11:51 cmr_init_ad$
-rw-r--r-- 1 gtmpost1 ftpcmr 572155011 Oct 22 11:58 cmr_init_ae$
-rwxrwxr-x 1 cmr ftpcmr 6760 Oct 12 09:00 cmrtail$
-rwxrwxr-x 1 cmr ftpcmr 6760 Oct 12 09:37 cmrtail2$

The file "cmr_init_abb^M$" is visible but I am unable to reference it. Is there a way?.
I've tried "ls cmr_init_abb^M" etc. I can only access it by wildcard "ls cmr_init_abb*" but is not useful for what I want to do.

Thanks
Li
 
Try [tt]mv cmr_init_abb[red]?[/red] cmr_init_abb[/tt].
I hope it works...
Unix was made by and for smart people.
 
Hi ElgisRamon

Ok that finally worked. Thanks

Li
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top