Search Results

Search: Posts Made By: pasc
2,463
Posted By pasc
Thats what I sadly figured, but asking is free of...
Thats what I sadly figured, but asking is free of charge as they say ;)







That looks interesting, sadly I'd have to run this via windows utitlites (awk might exist, but it isn't stock...
16,584
Posted By pasc
To round this up, here are what others came up...
To round this up, here are what others came up with aswell (Powershell):


https://www.reddit.com/r/PowerShell/comments/czbj73/rename_multiple_hex_folders_and_rename_them_to/


Thanks for the...
2,463
Posted By pasc
What are you about to do? Why do want to reverse...
What are you about to do? Why do want to reverse an action?


Simple:


I want to have a second script that is not simply a "line by line reverse copy" of the first script,
but rather...
16,584
Posted By pasc
No problem. That is more than enough of a hint. ...
No problem. That is more than enough of a hint.


Thanks ! :).
2,463
Posted By pasc
Reverse prior batch job (without simply rewriting the script)
So, let's say I have a usual batch rename file like this:



and I'd like to have a secon bat file, that can /reverse" the first.

BUT, I don't want to simply "rewrite" it like
move hello...
16,584
Posted By pasc
[Solved] Convert "hex" foldername to "ascii"
So, I have a folder, containing subdirs like this:



52334d50
52365245
524b4450
524f3350
52533950
52535050
52555550


now I want to go ahead and rename all those folder:


...
8,584
Posted By pasc
[Windows 7 x64] Find FFMPEG location ?
So, I have ffmpeg already installed on my machine,
however I can't for the life of me figure out *where*

Expanding the %path% variable shows: no ffmpeg there

Not in the Usual "Programs"...
6,412
Posted By pasc
Forwarding wmv video directly to Dreamscene [WIN7]
So, I finally got around to getting Dreamscene to work with my Win 7 (64bit) Laptop.

The only thing I find quite annoying, is that I have to "right click" a video file (.wmv/.mpg) and select "Set...
6,560
Posted By pasc
Adding same value to variables in does each repetition of command
So, I have this command:
mkdir rolled

for %%x in (*gif) do convert %%x -roll +2+6 %%x|move %%x rolled
I'd like to have the +2 and +6 accumulate here.
In each new gif tackled, it should increase...
3,510
Posted By pasc
Thanks! Busybox seems to be rather useful :).
Thanks!

Busybox seems to be rather useful :).
3,510
Posted By pasc
yes, if it simplifies it, I could.
yes, if it simplifies it, I could.
3,510
Posted By pasc
This is the code: for %x in (*gif) do convert...
This is the code:
for %x in (*gif) do convert %x image_%d.gif
3,510
Posted By pasc
it is not a homework assignment. i merly had...
it is not a homework assignment.

i merly had imagemagick hack an animated gif into mutiple frames,
edited em w imagemagik and tried to compile as vid with ffmpeg,
but...
sadly the order in the...
3,510
Posted By pasc
Simple 'date' to 001 scheme script
So since I'm looking for an easy way to numberize files in a folder according to date:

Is there an easy script (batch, windows), that will rename files like this:
.earliest creation time:...
4,259
Posted By pasc
Yeah, I use Aren to do the "rename to 4 digits"...
Yeah, I use Aren to do the "rename to 4 digits" part.

I'll try your suggestion though, it would save me a lot of time.

Firing up Aren all the time is very unsmooth and costs a lot of time.
...
4,259
Posted By pasc
Sorry for the double post, but how would you go...
Sorry for the double post, but how would you go on about such mess ?:
4,259
Posted By pasc
Ah ! OK, so that was why :) Thanks.
Ah ! OK, so that was why :)

Thanks.
4,259
Posted By pasc
FFMPEG command problem...
Hi,

Currently having some trouble with FFMPEG....


I have the following files:

0001_.gif
0002_.gif
.............
0584_.gif
0585_.gif
0586_.gif
0587_.gif
0588_.gif
0589_.gif...
2,861
Posted By pasc
Deleting all files containing string (WINDOWS DOS)
So I want to skim through all folders (ongoing from the curr dir) and delete all files that contain the string:

"in conflikt standing copy".

Is this possible WITH DOS ?
2,431
Posted By pasc
Remove duplicate lines from text files.
So, I have text files,

one "fail.txt"



And one
"color.txt"



I now want to use a command line (DOS) to remove ANY line that is PRESENT IN BOTH from each text file.

Afterwards there...
1,397
Posted By pasc
ok... so I guess. This has got nothing to do...
ok... so I guess.

This has got nothing to do with the looping, and more with the code itself...

Well..

At least that is cleared up. Thanks.
1,397
Posted By pasc
Like this ?: for /F %%c in (hex.txt) do (...
Like this ?:


for /F %%c in (hex.txt) do (
for %%x in (*png) do convert -monitor %%x -transparent "%%c" %%x
)
1,397
Posted By pasc
Use Textfile for variables ?
So...

I have a text file that contains this (hex.txt):

#8C7CA6
#6C70A5
#75777C
#959A90
#7A7C6C
#867DAB
#80867E
#8A87BD
#6B71C6
#8F8A79
#9A9DCE
#7E87D0
#69709E
#82968C ...
2,278
Posted By pasc
2 Questions: replace text in txt file, add text to end of txt file
so...

Lets assume I have a text file.

The text file contains multiple "#" symbols.
I want to replace all thos "#"s with a STRING using DOS/Batch
I want to add a certain TEXT to the end of...
1,565
Posted By pasc
Perfect ! Thanks. BTW: Let's assume that...
Perfect ! Thanks.

BTW:
Let's assume that findstr would only accept "one" parameter:
How would you have solved the problem then ?
Showing results 1 to 25 of 146

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