You are not logged in.

#1 2011-12-29 15:46:16

esa
Member
Registered: 2011-12-29
Posts: 143
Website

sea's Script Collection

Heyas

Currently (29th dec 2011) it mainly supports RH based distros (mainly Fedora), so its good if you like to test any of their distros.
As soon the basic 'setup' module (sc set) is working, i'm going to port it to Arch.
Edit: Started porting, slowly.

The sourcecode is located at (change the url's core wich represent the framework core with set (setup), lfs (linux from scratch) or sup (support): https://sourceforge.net/p/seasc/core/sc … f%2Fmaster
The README with a list of the commands provided with the Script Collection may be read at: https://sourceforge.net/projects/seasc/files/


Its a bash script collection, with a very simple try for a cli gui.
Its purpose is to simplify several tasks, and shall provide a simple menu with cathegorized tasks.

Please post your feedback, so i can improve it and make it usable to the linux community!

Core: (the script files in ./collection and ./collection/tools)
Yum*: yum is the equivalent of pacman, sometime an process gets broken, so depending on the issue either call: yumreset or yumresume.
rmtf: removes temp files recursivly from $(pwd)
vimail: opens local mail folder
tools/siggen: Creates a simliar sig as mine
tools/iso2usb: a simple menu for writing iso/img files to an USB-drive

Setup: (sc set)
de: provides a menu for a simple installation of X11 and several DE's, such as E16, Awesome or LXDE.
multimedia: Well, installs all the required multimedia files for fedora.
$distr-specific: Currently only supports RH, so again multimedia and plymouth (the bootloading animation)
net: Still trying to figure out better handling, not yet fully supported, ignore iptables and security for now.

Linux from Scratch: (sc lfs)
Not yet finished, but working up to chapter 5.5

How to get it:

cd $HOME
mkdir sc 
cd sc
wget -nc https://sourceforge.net/projects/seasc/files/latest/download
tar -axf sc-0.?.?-all.tar.bz2 || tar -axf download
alias sc=$HOME/sc/sc
sc install
echo

Please let me know your feedback.
Hope its usefull and for your like.

Happy holidays
Simon

Last edited by esa (2012-01-05 13:51:21)


Author of: TUI (Text User Interface for scripts), VHS (Video Handler Script, using ffmpeg) and YASSI (Yet Another Simple Script Installer)

Offline

#2 2011-12-29 16:46:28

hadrons123
Member
From: chennai
Registered: 2011-10-07
Posts: 1,249

Re: sea's Script Collection

post your scripts!

Offline

#3 2011-12-29 16:59:46

steve___
Member
Registered: 2008-02-24
Posts: 452

Re: sea's Script Collection

It looks like they are here: http://sourceforge.net/projects/seasc/

Offline

#4 2011-12-29 17:02:35

esa
Member
Registered: 2011-12-29
Posts: 143
Website

Re: sea's Script Collection

hadrons123 wrote:

post your scripts!

Its too many code to post in the forum, without getting called a spammer wink
BTW @ Hadrons, i had posted it on fed forum too.

And yes, they're at https://sourceforge.net/projects/seasc
EDIT: I understand if you'd like to browse the code first, however, its easier to achieve a workable collection with the usage of the lines in the code tags of first post.

EDIT:
Updated online source

Last edited by esa (2011-12-29 21:43:21)


Author of: TUI (Text User Interface for scripts), VHS (Video Handler Script, using ffmpeg) and YASSI (Yet Another Simple Script Installer)

Offline

#5 2011-12-31 12:31:59

hadrons123
Member
From: chennai
Registered: 2011-10-07
Posts: 1,249

Re: sea's Script Collection

i downloaded the source from sourceforge few days ago.I currently dont have a fedora installation on any of my PCs and i realize that most of your scripts are targetted at *RPM based setup.some of your scripts  work in arch linux too.
Good work on the scripts.keep up the good work.post when you are done porting all the scripts to Arch linux.

update:
i checked the updated source now.seems like its a work in progress.

Last edited by hadrons123 (2011-12-31 12:36:37)

Offline

#6 2011-12-31 12:54:57

esa
Member
Registered: 2011-12-29
Posts: 143
Website

Re: sea's Script Collection

Thank you.

A few questions:
Was it difficult to get it working?
Is there a hint for others you might want to share so they have a better experience?

EDIT:
Yes, some are already working on Arch.
However, i prefer to wait until i have a working 'rh based' structure, before adapting/porting it 'fully' to Arch-based releases.

Last edited by esa (2011-12-31 12:58:49)


Author of: TUI (Text User Interface for scripts), VHS (Video Handler Script, using ffmpeg) and YASSI (Yet Another Simple Script Installer)

Offline

#7 2011-12-31 13:12:14

hadrons123
Member
From: chennai
Registered: 2011-10-07
Posts: 1,249

Re: sea's Script Collection

1.after unzipping the source sc-README quits  in terminal when you press enter ,when it asks to do so.
2.when i try to run sc-install.sh in terminal it creates a folder and creates symlinks and exits.
3.i did not try the LFS.but trying to work the individual tools like iso2usb give an output like this

/home/candice/Desktop/collection/tools/iso2usb: line 20: scheader: command not found
/home/candice/Desktop/collection/tools/iso2usb: line 22: scheader: command not found
1) /home	  3) /etc	    5) /usr
2) /home/candice  4) /opt	    6) OTHER
#? 1
Scanning /home/home/candice/Desktop/collection/tools/iso2usb: line 50: scheader: command not found

/home/candice/Desktop/collection/tools/iso2usb: line 56: scheader: command not found
1) usb-*
#? 

correct me if i am doing anything the wrong way.

Last edited by hadrons123 (2011-12-31 13:14:09)

Offline

#8 2011-12-31 14:00:04

esa
Member
Registered: 2011-12-29
Posts: 143
Website

Re: sea's Script Collection

Always use sc, as it is directory based, you call the single scripts by execute of several arguments.

For the iso2usb for example, it requires you to have an usb-flash pluged in and to have either iso or img files in one of the listed options recursivly available. Be aware that it overwrites the mbr of the target device. You may also list a specific folder only. For all counts: if the iso files are in a hidden dir, you have to specify the path up to the last hidden directory.

sc tools iso2usb

More luck now?

Last edited by esa (2011-12-31 14:02:49)


Author of: TUI (Text User Interface for scripts), VHS (Video Handler Script, using ffmpeg) and YASSI (Yet Another Simple Script Installer)

Offline

#9 2011-12-31 14:13:26

hadrons123
Member
From: chennai
Registered: 2011-10-07
Posts: 1,249

Re: sea's Script Collection

1.well sc quits the terminal instantly on 'Run in Terminal'.

2.iso2usb

/home/candice/Desktop/collection/tools/iso2usb: line 20: scheader: command not found
/home/candice/Desktop/collection/tools/iso2usb: line 22: scheader: command not found
1) /home	  3) /etc	    5) /usr
2) /home/candice  4) /opt	    6) OTHER
#? 1
Scanning /home/home/candice/Desktop/collection/tools/iso2usb: line 50: scheader: command not found

/home/candice/Desktop/collection/tools/iso2usb: line 56: scheader: command not found
1) usb-SanDisk_Cruzer_Micro_2605000CAC504F16-0:0
2) usb-SanDisk_Cruzer_Micro_2605000CAC504F16-0:0-part1
#? 1

/home/candice/Desktop/collection/tools/iso2usb: line 67: scheader: command not found
/home/candice/Desktop/collection/tools/iso2usb: line 68: scecho: command not found
/home/candice/Desktop/collection/tools/iso2usb: line 69: ask: command not found
/home/candice/Desktop/collection/tools/iso2usb: line 70: return: can only `return' from a function or sourced script
/home/candice/Desktop/collection/tools/iso2usb: line 77: scecho: command not found
/home/candice/Desktop/collection/tools/iso2usb: line 78: scecho: command not found
/home/candice/Desktop/collection/tools/iso2usb: line 79: ask: command not found
/home/candice/Desktop/collection/tools/iso2usb: line 85: patience: command not found
/home/candice/Desktop/collection/tools/iso2usb: line 86: scheader: command not found
Password: 

it exits after the password.

feedback:
i am not a script expert but i think the error outputs i get  might give you some idea about what is wrong.maybe everything is connected to the fact that i am not able to run 'sc' and go from there.

Last edited by hadrons123 (2011-12-31 14:23:06)

Offline

#10 2011-12-31 15:52:20

esa
Member
Registered: 2011-12-29
Posts: 143
Website

Re: sea's Script Collection

1) Thank you for that hint, but its obvious, as w/path/to/schile you call grep all by itself, closes the 'run in terminal'  window too.
2) I actualy see you still run the iso2usb file all by itself. Because NO function are called up.

Execute like:

alias sc=$HOME/sc/sc
sc tool iso2usb

In your case it would be

alias sc=$HOME/Desktop/sc
sc tools iso2usb

More luck now?
Besides, i've uploaded the 0.0.9 tarball, with updated readme and install script...

Just copy paste this code into an open terminal window:

cd $HOME
mkdir sc && cd sc
wget -nc https://sourceforge.net/projects/seasc/files/latest/download
tar -axf sc-0.?.?-all.tar.bz2
# make it temporary alias
alias sc=$HOME/sc/sc
sc install
echo

EDIT:
Question:
Do i understand this properly, regarding the closure with "run in terminal", that you would welcome a kind of menu, even when entering sc without arguments? Something that doesnt let you 'back to prompt' until you quit the script?

Last edited by esa (2011-12-31 16:04:06)


Author of: TUI (Text User Interface for scripts), VHS (Video Handler Script, using ffmpeg) and YASSI (Yet Another Simple Script Installer)

Offline

#11 2012-01-05 13:49:51

esa
Member
Registered: 2011-12-29
Posts: 143
Website

Re: sea's Script Collection

Well, since no further feedback was given, i started to port the "multimedia" to Arch, for those who are fresh to linux or Arch.
You might not agree with my 'basics' selection for the Arch install, firefox, thunderbird, xchat, gedit. If so you'd need to edit $HOME/sc/set/arch/basics.

Further i've implemneted the select menu from the start (sc) now.
So no more 'missing functions'.

Once installed with:

cd $HOME
mkdir sc 
cd sc
wget -nc https://sourceforge.net/projects/seasc/files/latest/download
tar -axf sc-0.?.?-all.tar.bz2 || tar -axf download
alias sc=$HOME/sc/sc
sc install
echo

You may start the scripts with either:

sc
OR
sc tools iso2usb

Feel free to post bugs, suggestions or questions here, or open a ticket at sf.net.


Author of: TUI (Text User Interface for scripts), VHS (Video Handler Script, using ffmpeg) and YASSI (Yet Another Simple Script Installer)

Offline

Board footer

Powered by FluxBB