Solved

how to remove time stamp using bash command

Posted on 2009-04-06
5
346 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

Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

Question has a verified solution.

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

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 …
Background Still having to process all these year-end "csv" files received from all these sources (including Government entities), sometimes we have the need to examine the contents due to data error, etc... As a "Unix" shop, our only readily …
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

691 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