Timeline for How to list only the last name.partXXX.rar file?
Current License: CC BY-SA 4.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 18 at 8:45 | history | edited | terdon♦ | CC BY-SA 4.0 |
added 83 characters in body
|
| Aug 17 at 18:19 | comment | added | Ed Morton |
That would print one of the input file names that begin with 1yBWVnZCx8CoPrGIG, etc., not necessarily the first one - you'd need GNU awk for -s (stable sort) to guarantee output order based on input order.
|
|
| Aug 17 at 13:12 | vote | accept | Banana | ||
| Aug 17 at 12:40 | comment | added | Stéphane Chazelas |
Worth noting that it assumes files names contain no newline characters and that it contains no other . besides the one before part and rar and that the numbers are always 0-padded to the length of the highest part number.
|
|
| Aug 17 at 12:35 | history | answered | ctx | CC BY-SA 4.0 |