/[ludap]/ludap/scripts/backup.sh
ViewVC logotype

Diff of /ludap/scripts/backup.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by mose, Mon Oct 27 02:17:06 2003 UTC revision 1.2 by mose, Mon Oct 27 10:21:52 2003 UTC
# Line 33  fi Line 33  fi
33    
34  if [ $1 = 'list' ]; then  if [ $1 = 'list' ]; then
35          echo "LIST"          echo "LIST"
36          ls -go $ARCHIDIR | sed -e "1d" | grep -v CVS | awk '{ printf("%s ... %d\n",$7,$3)}'          ls -l $ARCHIDIR | sed -e "1d" | grep -v CVS | awk '{ printf("%s ... %d\n",$9,$5)}'
37          echo -n "Number of backups: "          echo -n "Number of backups: "
38          ls $ARCHIDIR | grep -v CVS | wc -l          ls $ARCHIDIR | grep -v CVS | wc -l
39  elif [ $1 = "backup" ]; then  elif [ $1 = "backup" ]; then

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26