Wolfram ResearchProductsPurchasingServices & ResourcesAbout UsOur Sites
Student Support Forum
-----
Student Support Forum: '.tar archives with long paths - truncation prob?' topicStudent Support Forum > General > Archives > ".tar archives with long paths - truncation prob?"

< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic | Post New Topic
Author Comment/Response
yehuda ben-shimol
05/04/08 04:46am

I wonder what is the system you are working on
With OpenSuse 10.3 and Mathematica 6.0.2
(* I generated a deep directory with a much longer name *)

SetDirectory["~"];
Do[CreateDirectory[
"testMathaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"];
SetDirectory[
"testMathaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"], {10}];
dir=Directory[];
SetDirectory["~"];
(* Manually I put there a .tar file
and then *)
fname="result_clustered.txt.tar";

Import[dir<>"/"<>fname,StringDrop[fname,-4]]


and this works with no problem

yehuda





URL: ,

Subject (listing for '.tar archives with long paths - truncation prob?')
Author Date Posted
.tar archives with long paths - truncation prob? Greg Colbourn 04/30/08 3:08pm
Re: .tar archives with long paths - truncation ... yehuda ben-s... 05/04/08 04:46am
Re: Re: .tar archives with long paths - truncat... Greg Colbourn 05/06/08 06:39am
< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic | Post New Topic





 © 2008 Wolfram Research, Inc.  Terms of Use  Privacy Policy