changing the output filenames in [split] [closed] - bash

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 9 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
I would like to split a huge text file into separate text files. I use:
split -l 1000 file.txt split_file
and I will get split_fileaa, split_filebb, etc.
How can I change the extension to be
split_file0.txt, split_file1.txt, etc?

--additional-suffix is what you need for the additional suffix :
split -l 1000 -d --additional-suffix=.txt file.txt split_file

There is a -d option for numeric suffixes.

Related

Windows cmd line rename removes zeros from filenames? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I have a bunch of files that I need to rename :
XX_20_0001.pdf
XX_20_0001.xml
XX_20_0023.pdf
XX_20_0023.jpg, etc.
I made a bat file with this code in it:
rename "XX_20_*" "XX_083_*"
But for some reason it only leaves three digits at the end of the file name:
XX_083_001.pdf
Why? and how can I change this?
Thank you!
Maria
For DOS ren SourceMask TargetMask, the TargetMask is processed against the SourceMask (source name) strictly from left to right with no back-tracking. As 083 is one character longer than 20, so DOS will "eat" one character.

indesign cs5 numbered lists not sequencing [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I am trying to create a paragraph style for number lists. Pretty basic, just some customized indents etc. But each item in my list is not sequentially numbered, i.e., each item starts with 1.
Please advise.
Have you looked at "Numbering style" option ?
In my french version, "Suite…" means increment previous number. And "Commencer…" means "Starts at…"

conky: how to refresh the display values? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
why conky duplicates the display after every minute as the picture
This looks like a common issue with Conky and graphics. You can try enabling double buffering:
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
or fiddling around with the own_window, own_window_type, and own_window_transparent settings.
I solved the problem by own_window_type normal
in the file ~/.conky

Displaying files in terminal line by line? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
Is is possible, in terminal, to ls command a folder and view each file line by line instead of just spanning across horizontally?
Normal Display:
Assignment10.py Assignment12.py Excercise01.py Excercise03.py Excercise05.py Excercise07.py Excercise09.py README.txt
Assignment11.py Assignment13.py Excercise02.py Excercise04.py Excercise06.py Excercise08.py Excercise14.py Template.py
Ryans-MacBook-Pro-2:Learn_Python_The_Hard_Way_Excercises rschacht$
Preferred Display:
Assignment10.py
Excercise03.py
Excercise05.py
Excercise07.py
Excercise09.py
README.txt
ls is capable of doing that:
ls -1
(that's a one)

remove pencil on uneven background [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I have this picture: http://fc07.deviantart.net/fs16/i/2007/124/a/f/Hand_and_Nib_Pen_Stock_2_by_austringer.jpg and would like to remove the pencil lines on the top of the paper with Gimp 2.8.4. how do I best go about this? I only have the jpg i.e. everything is on the same layer...
use "clone" tool to overwrite pencil lines with their neighbor white space, this tutorial will help you.

Resources