Skip to content
TheChatArchiveThe Chat Archive
MiniMaxminimax-m1· MiniMaxHugging Face LMArena Human Preference 140K

Went on docker & did: tar czf /tmp/malix.tgz -X /dev/* -X /proc/* -X /sys/* -X /tmp/* /*…

From a Chatbot Arena battleThe same person sent this prompt to two anonymous models at once. Compare it with Googlegemma-3n-e4b-it’s answer.
  1. User

    Went on docker & did: tar czf /tmp/malix.tgz -X /dev/* -X /proc/* -X /sys/* -X /tmp/* /* & it does nothing, no sign on /tmp, whatdda?

  2. MiniMax Assistant

    The issue with your tar command stems from using the -X option incorrectly. The -X (or --exclude-from) flag expects a file containing exclusion patterns, not direct patterns. Instead, you should use the --exclude option to specify patterns directly. Here's the corrected command:

    tar czf /tmp/malix.tgz --exclude="/dev/*" --exclude="/proc/*" --exclude="/sys/*" --exclude="/tmp/*" /*
    

    Key Fixes:

    1. Replace -X with --exclude:
      Use --exclude to directly specify patterns to exclude (e.g., --exclude="/dev/*").

    2. Check Permissions and Output:
      Ensure you have write permissions in /tmp. Verify the file exists with ls -l /tmp/malix.tgz.

    3. Refine Exclude Patterns (Optional):
      If you want to exclude entire directories (not just their contents), use:

      --exclude="/dev" --exclude="/proc" --exclude="/sys" --exclude="/tmp"
      

    Example Command:

    tar czf /tmp/malix.tgz --exclude="/dev" --exclude="/proc" --exclude="/sys" --exclude="/tmp" /*
    

    This will create a compressed tarball of the root directory (/*), excluding /dev, /proc, /sys, and /tmp.

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.