IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 1, 2010, 3:16:35 PM (16 years ago)
Author:
watersc1
Message:

Update to automation cleanups to queue magic destreak cleanups.

Added -l option to neb-ls which passes the files to ls -al to look at permissions and sizes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous/bin/neb-ls

    r28525 r28581  
    1717    $server,
    1818    $path,
     19    $ls,
    1920    $column,
    2021);
     
    2627    'server|s=s'    => \$server,
    2728    'path|p'        => \$path,
     29    'l'             => \$ls,
    2830    'column|c'      => \$column,
    2931) || pod2usage( 2 );
     
    6163    @{ $keys } = @files;
    6264}
     65if ($ls) {
     66    my @files;
     67    foreach my $key (@{ $keys }) {
     68        my $uris = `ls -al $key`;
     69        chomp($uris);
     70        if (defined $uris) {
     71            push @files, $uris;
     72        }
     73    }
     74    @{ $keys } = @files;
     75}   
    6376if ($keys) {
    6477    if ($column) {
Note: See TracChangeset for help on using the changeset viewer.