Solved

how to remove time stamp using bash command

Posted on 2009-04-06
5
345 Views
Last Modified: 2013-12-26
how to remove time stamp using bash command format:20090130_1424

format:yyyymmdd_24hr time format
0
Comment
Question by:vijay11
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 40

Expert Comment

by:omarfarid
ID: 24083915
please elaborate on the requirement and give example
0
 

Author Comment

by:vijay11
ID: 24084024
i have 80 .txt files in a windows folder.how can we load the name of all txt files in to a text file.examples
if name of files are a.txt,b.txt ..... .i want to load all the names of files in a text file.i have cygwin installed
0
 

Expert Comment

by:chiragypatil
ID: 24084079
Say you have all txt files in directory dir1
run the following command in that directory

ls | grep "*.txt" > list_of_filenames.txt

Open in new window

0
 
LVL 40

Accepted Solution

by:
omarfarid earned 500 total points
ID: 24084144
change to that folder / dir then run

ls *.txt > files
0
 
LVL 48

Expert Comment

by:Tintin
ID: 24084917
Your description is completely different from your original question.  What's the relationship of the timestamp?
0

Featured Post

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
shell script 2 60
Move files based on file names? 8 66
powershell script error 2 33
script to read text file 34 26
It is becoming increasingly popular to have a front-page slider on a web site. Nearly every TV website,  magazine or online news has one on their site, and even some e-commerce sites have one. Today you can use sliders with Joomla, WordPress or …
In this tutorial I will show you how to provide a dynamic RTF document on your website generated with data from your database. For this tutorial you will need Microsoft Word or WordPad, WhizBase and Microsoft Access. In this tutorial I will show …
The viewer will learn how to count occurrences of each item in an array.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question