Search Results

Search: Posts Made By: rudoraj
13,227
Posted By greet_sed
From original post: ...
From original post:
https://www.unix.com/unix-dummies-questions-answers/90923-get-latest-file-reading-date-filename.html

As per your input,

ls | awk -F\. 'm<$4{m=$4;f=$0} END{print f}'
9,332
Posted By Corona688
awk -F"|" -v OFS="|" '!$3 { $3="099990"} 1'...
awk -F"|" -v OFS="|" '!$3 { $3="099990"} 1' inputfile
4,507
Posted By jawsnnn
Is this what you're looking for? find...
Is this what you're looking for?


find /data/raw_files -type f -exec zip -j bundle.zip {} \;
6,023
Posted By Corona688
find -type f -name '*pattern*' -exec mv '{}'...
find -type f -name '*pattern*' -exec mv '{}' /path/to/destination ';'
2,431
Posted By cabrao
awk -F\| '$1=NR' OFS=\| file
awk -F\| '$1=NR' OFS=\| file
2,866
Posted By frans
The script works fine when recorded in a file but...
The script works fine when recorded in a file but gives me the same strange output when pasted into a terminal.
-----------

Now works if line 1. (function) is
#
NewName() { A=${1%%.*};...
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 09:36 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy