--full-time is a handy little option for ls but it doesn't work when used in a batch file.
ls -al --full-time when used at the command prompt yields a an expanded date and time:
2012-01-16 18:56:00.000000000
used in a bash script I got this:
ls: illegal option -- - usage: ls [-ABCFGHLOPRSTUWabcdefghiklmnopqrstuwx1] [file ...]
is there any way around this.