source: trunk/DataCheck/Archive/testNaming.sh@ 19549

Last change on this file since 19549 was 12750, checked in by lyard, 13 years ago
added ingest stuff
  • Property svn:executable set to *
File size: 416 bytes
Line 
1#!/bin/bash
2
3filename=$1
4
5filenameonly=${filename##*/}
6
7filenameonly=${filenameonly%%.fits}
8
9echo $filenameonly
10
11
12 #first construct the correct file name
13# filenameonly=${entry##*/}
14# year="2011"
15# month=${filenameonly}
16 #second construct the destination path.
17# filenameonly=${entry##*/}
18# pathonly=${entry%$filenameonly}
19# extrapathonly=${pathonly#$sourceFolder/}
20# targetFolder=$destFolder"/"$extrapathonly
Note: See TracBrowser for help on using the repository browser.