Page 2 of 2

Re: Rename - a little complex

PostPosted: Thu Nov 23, 2017 12:34 am
by uraniumbreather
Panchdara wrote:Hi. Sorry - thought "touch" was a common utility amongst most peoples arsenals.

Touch is a UNIX type utility that will create a file, if not in existence, or change the modified date/attributes if it does.

I created a batch file "tt.bat" that contains the touch lines is all. This batch file created the files as OP has listed. The OP must have some alternate sorting sequence or has duff characters at end of file name.

I am using Win 10 Creators but have a touch utility from the GitBash install - but touch can be downloaded anywhere - there are many to choose from.


But not everyone is a heavy computer user? I mean most people would not know what this touch is. I assume you assume everyone is interested in programming etc? I do not know what a UNIX type utility is either.

What are touch lines?

What are duff characters?

How do I fix my problem is basically what I want to know.

Thank you

Re: Rename - a little complex

PostPosted: Fri Dec 01, 2017 4:18 am
by uraniumbreather
Please reply

Re: Rename - a little complex

PostPosted: Fri Dec 01, 2017 7:34 am
by therube
therube wrote:

Some screenshots have names like this:

Screen Shot 2017-09-16 at 23.33.54 1
Screen Shot 2017-09-16 at 23.33.54 2
Screen Shot 2017-09-16 at 23.33.54 3
Screen Shot 2017-09-16 at 23.33.54

Windows organizes them like this.


What OS?
I don't see that in XP or Win7.
(I know nothing of Win10 nor if something like a language pack or similar would make a difference.)

Sorted by name, I see:
Screen Shot 2017-09-16 at 23.33.54
Screen Shot 2017-09-16 at 23.33.54 1
Screen Shot 2017-09-16 at 23.33.54 2
Screen Shot 2017-09-16 at 23.33.54 3

That holds in Windows Explorer & various file managers, in both alpha & "natural" sorts (by name).

So if your only real issue is the order the filenames are displayed, look into what may be causing them to be displayed differently (like perhaps if sorted by date, where the the Shot without the appended # happens to be dated later).

Re: Rename - a little complex

PostPosted: Fri Dec 01, 2017 8:00 am
by Panchdara
uraniumbreather wrote:Please reply


"Touch" is a utility (normally command line based) that either creates a file or changes an existing files attribute(s). I created a batch file (using NOTEPAD) that replicated the example you initially gave. I believe touch was initially developed in the Unix environment and ported to DOS then with windows GUI added. Google touch utility.

Duff characters is a common term to describe non-printable characters - those with values outside of the printable range: and in this case, if there were duff character(s), I'd suspect they would have a higher value than "~" (126) and non-printable - just a guess.

And to answer the question about "heavy computer user", well, I would consider BRU to be a fairly complex utility and some general file system and manipulation knowledge would be a great advantage.

Re: Rename - a little complex

PostPosted: Fri Dec 01, 2017 1:18 pm
by uraniumbreather
'So if your only real issue is the order the filenames are displayed, look into what may be causing them to be displayed differently (like perhaps if sorted by date, where the the Shot without the appended # happens to be dated later).'

Sorry what? 'the the Shot' without appended hashtag happens to be dated later? What does that mean?

Basically the order is wrong. That set of files have the same date. There are other sets of files in the same folder with the same dates.
I need that example provided first where the file ending in 54 with no number at the end to be FIRST.
That file IS first when it is on the Macbook where it was created.
But once transferred to my PC (Windows 7), suddenly the file ending in 54 becomes the LAST file.
The file names all have the same date and time, down to the second.

Re: Rename - a little complex

PostPosted: Fri Dec 01, 2017 5:27 pm
by therube
suddenly the file ending in 54 becomes the LAST file

Why?
In what application are you using where looking at the list of files where 54 becomes LAST?

How about a screenshot?
Posting a screenshot on the forum

In whatever application (including BRU) have you sorted the list; by name, ascending?

Re: Rename - a little complex

PostPosted: Fri Dec 01, 2017 10:53 pm
by uraniumbreather
In Windows. The files are in a folder. I open the folder and there they are. In the wrong order as explained.

Re: Rename - a little complex

PostPosted: Thu Jan 25, 2018 12:26 am
by uraniumbreather
therube wrote:
suddenly the file ending in 54 becomes the LAST file

Why?
In what application are you using where looking at the list of files where 54 becomes LAST?

How about a screenshot?
Posting a screenshot on the forum

In whatever application (including BRU) have you sorted the list; by name, ascending?


Hello?