Search Results

Search: Posts Made By: Braveheart
2,980
Posted By Braveheart
It is not a question of what I do not like, What...
It is not a question of what I do not like, What I am trying to do is quite elementary in a lot of other languages. I want the written output contained in the summary.txt listed in reverse...
2,980
Posted By Braveheart
Gents, I am using Yosemite 10.10.5 with Bourne...
Gents, I am using Yosemite 10.10.5 with Bourne Again Shell. Bash

Say the summary.txt that is written to the desktop has content of:

banana.jpg
pear.jpg
tomato.jpg
apple.jpg
cucumber.png...
2,980
Posted By Braveheart
Issues with sorting in reverse order
I have a unix script that outputs a summary file to the mac desktop.

The file is called summary.txt

I am trying to configure such so that the summary.txt file lists the content contained within...
855
Posted By Braveheart
i run my file using ./script.txt how do i...
i run my file using ./script.txt

how do i run the inverse or call the inverse given the code you said is nested in the same script

cheers
855
Posted By Braveheart
How do I generate a script with an inverse action?
I have an interactive script which sorts and processes a variety of filetypes from an unsorted folder into newly created directories.

The script works great, But I was wondering how I could...
2,431
Posted By Braveheart
re
encapsulated within the code block, nested. thanks
2,431
Posted By Braveheart
re
Thank you.

ls -r certainly works in the terminal in terms of reverse sorting.


However, Can terminal commands be directly nested in a shell script. ??
2,431
Posted By Braveheart
How to create a summary file of all files in a directory sorted in reverse alphabetical order.?
I have an interactive script which works terrific at processing a folder of unsorted files into new directories.

I am wondering how I could modify my script so that( upon execution) it provides...
1,191
Posted By Braveheart
solved. thank you
Thank you for that steering. that worked lovely. regards
1,191
Posted By Braveheart
RE:
Thank you for the steering, my Mac OS is Yosemite 10.10.5.

That control flow statement you wrote, how would I nest that in the code. appreciated.
1,191
Posted By Braveheart
How to get script to create a new file that lists folder content sorted by size?
I have a script that sorts and processes unsorted files to newly created directories.

Its working great, but I am trying to understand the leanest method to get the script to create an additional...
2,195
Posted By Braveheart
solved
thanks, i used mkdir -p foldermisc and it worked great.
2,195
Posted By Braveheart
Rudi, I managed to get it 3 quarters working...
Rudi, I managed to get it 3 quarters working which is a fantastic start. The folders are created for each of the three files stipulated in the terminal (jpg gif docx) and upon execution of the...
2,195
Posted By Braveheart
no i am experimenting with the language...
no i am experimenting with the language independently
2,195
Posted By Braveheart
appreciate the prompt response, how do you mean...
appreciate the prompt response, how do you mean by reading in your separated list of arguments. my apologies if the question is elementary ( I am first year software student)
2,195
Posted By Braveheart
Batch processing files through an interactive script
I am newish to the site and to unix.


I have a functioning interactive script running on Mac that sorts and processes files located in an unsorted folder on my desktop.

As it currently...
986
Posted By Braveheart
Thank you for the note Don. In relation to...
Thank you for the note Don.

In relation to your questions.

What operating system are you using? - OSX Yosemite 10.10.5

What is the name of your script? - My script name is scripts.txt that...
986
Posted By Braveheart
Problems executing an interactive shell script
I am new to Unix shell and to this forum.

I am having some trouble executing an interactive shell script that I have written using Mac TextEdit that takes a user input via terminal of a file type...
Showing results 1 to 18 of 18

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