Skip to main content
deleted 20 characters in body
Source Link
Rui F Ribeiro
  • 58k
  • 28
  • 156
  • 238

My filename will be in date format. eg: 20160920-A.cc1. Everyday I will getting different file, with the current date (yyyymmdd-A.cc1). I need to archival this file with the same name that is loaded and also with date and timestamp as a suffix to the file.

So my input is like 20160920-A.cc1 and output that is moved to another folder and that should be like this 20160920-A.cc1_20160920-hh:mm:ss

Kindly help on this.

My filename will be in date format. eg: 20160920-A.cc1. Everyday I will getting different file, with the current date (yyyymmdd-A.cc1). I need to archival this file with the same name that is loaded and also with date and timestamp as a suffix to the file.

So my input is like 20160920-A.cc1 and output that is moved to another folder and that should be like this 20160920-A.cc1_20160920-hh:mm:ss

Kindly help on this.

My filename will be in date format. eg: 20160920-A.cc1. Everyday I will getting different file, with the current date (yyyymmdd-A.cc1). I need to archival this file with the same name that is loaded and also with date and timestamp as a suffix to the file.

So my input is like 20160920-A.cc1 and output that is moved to another folder and that should be like this 20160920-A.cc1_20160920-hh:mm:ss

My file namefilename will be in date format. eg: 20160920-A.cc1. Everyday I will getting different file, with the current date (yyyymmdd-A.cc1). I need to archival this file with the same name that is loaded and also with date and timestamp as a siffixsuffix to the file. So

So my input is like "20160920-A.cc1" 20160920-A.cc1 and output that is moved to another folder and that should be like this "20160920-A.cc1_20160920-hh:mm:ss" Kindly20160920-A.cc1_20160920-hh:mm:ss

Kindly help on this.

My file name will be in date format. eg: 20160920-A.cc1. Everyday I will getting different file, with the current date (yyyymmdd-A.cc1). I need to archival this file with the same name that is loaded and also with date and timestamp as a siffix to the file. So my input is like "20160920-A.cc1" and output that is moved to another folder and that should be like this "20160920-A.cc1_20160920-hh:mm:ss" Kindly help on this.

My filename will be in date format. eg: 20160920-A.cc1. Everyday I will getting different file, with the current date (yyyymmdd-A.cc1). I need to archival this file with the same name that is loaded and also with date and timestamp as a suffix to the file.

So my input is like 20160920-A.cc1 and output that is moved to another folder and that should be like this 20160920-A.cc1_20160920-hh:mm:ss

Kindly help on this.

Source Link

Unix question for a date format file

My file name will be in date format. eg: 20160920-A.cc1. Everyday I will getting different file, with the current date (yyyymmdd-A.cc1). I need to archival this file with the same name that is loaded and also with date and timestamp as a siffix to the file. So my input is like "20160920-A.cc1" and output that is moved to another folder and that should be like this "20160920-A.cc1_20160920-hh:mm:ss" Kindly help on this.