Changeset 7540


Ignore:
Timestamp:
Oct 1, 2009, 8:03:34 AM (15 years ago)
Author:
rwilson
Message:

Fixed bad comments, expanded README.

Location:
misc/tools/tar_file
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • misc/tools/tar_file/README

    r6642 r7540  
    11This directory contains the 'tar_file.py' program used to create tarred and
    22zipped files from a file or directory.
     3
     4Why do we have this instead of using the tools provided under Linux?  We need
     5something that works under Windows as well.
    36
    47Use it so:
  • misc/tools/tar_file/tar_file.py

    r6632 r7540  
    1818
    1919# get program name
    20 # does this work on  Windows?
     20# does this work on Windows?
    2121Prog_Name = os.path.basename(sys.argv[0])
    2222
  • misc/tools/tar_file/untar_file.py

    r6642 r7540  
    11#!/usr/bin/env python
    22
    3 '''A program to create tar files from a file or directory.'''
     3'''A program to untar files created by tar_file.py.'''
    44
    55import sys
     
    1919
    2020# get program name
    21 # does this work on  Windows?
     21# does this work on Windows?
    2222Prog_Name = os.path.basename(sys.argv[0])
    2323
     
    2626    usage()
    2727
    28 # create the tarred/compressed file
     28# untar the file into the current or specified directory
    2929if len(sys.argv) == 2:
    3030    untar_file(sys.argv[1])
Note: See TracChangeset for help on using the changeset viewer.