this post was submitted on 17 Mar 2024
1169 points (97.5% liked)

Programmer Humor

19564 readers
818 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 20 points 8 months ago (10 children)

what is cat's use if not seeing whats inside a file?

[–] [email protected] 28 points 8 months ago (2 children)

It is to use along with split. e.g.

  1. You take a single large file, say 16GB
  2. Use split to break it into multiple files of 4GB
  3. Now you can transfer it to a FAT32 Removable Flash Drive and transfer it to whatever other computer that doesn't have Ethernet.
  4. Here, you can use cat to combine all files into the original file. (preferably accompanied by a checksum)
[–] [email protected] 2 points 8 months ago (1 children)

Doesnt computers do this automatically if you try to copy over a file larger than its per file size limit?

[–] [email protected] 9 points 8 months ago

No. It just gives an error that it's too big.

load more comments (7 replies)