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)
Related
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.
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 3 years ago.
Improve this question
I am on Windows 10. I currently doing a group assignment that deals with a lot of images. I want to know when I click on an image if there is a way for the file explorer to tell me that this is "X" (for example 10th) item in this directory. I only see the total number of items on the bottom left corner of the file explorer screen. I know it sounds very nooby haha.
If PowerShell is an option:
ls | % {$i=1} { "$i $_"; $i++}
This will return:
1 file1.jpg
2 file2.jpg
3 file3.jpg
...
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
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.
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.