For example, I have four pieces (1.txt
, 2.txt
, 3.txt
, 4.txt
) and when the concatenate together (all.txt
), that's the file what I want:
cat 1.txt 2.txt 3.txt 4.txt > all.txt
However, I don't want to create the real file (all.txt
) because it might be very big, or very slow. However some programs or software only accept one file as its argument. (for example, sh all.txt
!= sh 1.txt && sh 2.txt && sh 3.txt && sh 4.txt
)
How to make such a virtual file? Or how to treat them as one file?
Someone asked a similar question here, however, I have limited permission on my computer and losetup is banned.