Sponsored Content
Top Forums UNIX for Dummies Questions & Answers [Solved] File Splitting And Renaming Problem Post 302887610 by RudiC on Sunday 9th of February 2014 11:36:33 AM
Old 02-09-2014
You might consider reading man split. One possible result would be
Code:
split -a1 -d -b500M 2yify.mp4 yify

"Renaming" to *.rar should not be done as .rar usually indicates a compressed archive.
This User Gave Thanks to RudiC For This Post:
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

advanced file renaming problem

I know this is probably a question for the newbie forum, where it is also posted, but I thought maybe some of you pros might like to help me out anyway. Here is my problem: I have to rename a batch of files that look like: 2001_0001.asc 2001_0002.asc . 2001_0548.asc 2002_0184.asc . .... (0 Replies)
Discussion started by: sea krait
0 Replies

2. Shell Programming and Scripting

Problem renaming a file with single quotes

Hi, I am trying to create a script which validates the incoming source files. The script has File name Pattern as Argument. The First part of the script validates if there are any files available if then echo "\n Files are available to process \n" else echo "\n File does not... (9 Replies)
Discussion started by: dsshishya
9 Replies

3. Shell Programming and Scripting

File renaming problem

Can someone tell me how can i remove the RPCFTP word from RPCFTPfilelist.csv file ? (4 Replies)
Discussion started by: JSKOBS
4 Replies

4. Shell Programming and Scripting

Problem with splitting large file based on pattern

Hi Experts, I have to split huge file based on the pattern to create smaller files. The pattern which is expected in the file is: Master..... First... second.... second... third.. third... Master... First.. second... third... Master... First... second.. second.. second..... (2 Replies)
Discussion started by: saisanthi
2 Replies

5. Shell Programming and Scripting

Splitting large file and renaming based on field

I am trying to update an older program on a small cluster. It uses individual files to send jobs to each node. However the newer database comes as one large file, containing over 10,000 records. I therefore need to split this file. It looks like this: HMMER3/b NAME 1-cysPrx_C ACC ... (2 Replies)
Discussion started by: fozrun
2 Replies

6. UNIX for Dummies Questions & Answers

[Solved] Renaming Multiple Files in Unix

I have mulitiple files in a unix directory e.g. FILE10001.txt FILE10002.txt I want the above two files to get renamed as by a single command. I tried with mv but it does not work FILE20001.txt FILE20002.txt Paresh (6 Replies)
Discussion started by: Pash
6 Replies

7. Shell Programming and Scripting

[Solved] intelligent splitting?

Hi, I want to split a file into multiple ones, with a new file for every line in the old file. Typically it is in this format 0.25 20 35.7143 0.5 31 55.3571 0.85 3 5.35714 1.3 2 3.57143 I can make new files by using split or other simple awk commands. But sometimes, the file is like... (7 Replies)
Discussion started by: jamie_123
7 Replies

8. UNIX for Dummies Questions & Answers

[SOLVED] splitting a single column(with spaces) into multiple rows

Hi All, My requisite is to split a single column of phonemes seperated by spaces into multiple rows. my input file is: a dh u th a qn ch A v U r k my o/p should be like: adhu a dh u (3 Replies)
Discussion started by: girlofgenuine
3 Replies

9. Shell Programming and Scripting

Splitting file into multiple files and renaming them

Hi all, Newbie here. First of all, sorry if I made any mistakes while posting this question in terms of rules. Correct me if I am wrong. :b: I have a .dat file whose name is in the format of 20170311_abc_xyz.dat. The file consists of records whose first column consists of multiple dates in... (2 Replies)
Discussion started by: chanduris
2 Replies

10. UNIX for Beginners Questions & Answers

Splitting the XML file and renaming the files

Hello Gurus, I have a requirement to split the xml file into different xml files. Can you please help me with that? Here is my Source XML file <jms-system-resource> <name>PS6SOAJMSModule</name> <target>soa_server1</target> <sub-deployment> ... (3 Replies)
Discussion started by: Siv51427882
3 Replies
SWFACTION(3)								 1							      SWFACTION(3)

The SWFAction class

INTRODUCTION
SWFAction. CLASS SYNOPSIS
SWFAction SWFAction Methods o SWFAction::__construct (string $script) DESCRIPTION
The script syntax is based on the C language, but with a lot taken out- the SWF bytecode machine is just too simpleminded to do a lot of things we might like. For instance, we can't implement function calls without a tremendous amount of hackery because the jump bytecode has a hardcoded offset value. No pushing your calling address to the stack and returning- every function would have to know exactly where to return to. So what's left? The compiler recognises the following tokens: o break o for o continue o if o else o do o while There is no typed data; all values in the SWF action machine are stored as strings. The following functions can be used in expressions: o time() - Returns the number of milliseconds (?) elapsed since the movie started. o random(seed) - Returns a pseudo-random number in the range 0-seed. o length(expr) - Returns the length of the given expression. o int(number) - Returns the given number rounded down to the nearest integer. o concat(expr, expr) - Returns the concatenation of the given expressions. o ord(expr) - Returns the ASCII code for the given character o chr(num) - Returns the character for the given ASCII code o substr(string, location, length) - Returns the substring of length $length at location $location of the given string $string. Additionally, the following commands may be used: o duplicateClip(clip, name, depth) - Duplicate the named movie $clip (aka sprite). The new movie clip has name $name and is at depth $depth. o removeClip(expr) - Removes the named movie clip. o trace(expr) - Write the given expression to the trace log. Doubtful that the browser plugin does anything with this. o startDrag(target, lock, [left, top, right, bottom]) - Start dragging the movie clip $target. The $lock argument indicates whether to lock the mouse (?)- use 0 ( FALSE) or 1 ( TRUE). Optional parameters define a bounding area for the dragging. o stopDrag() - Stop dragging my heart around. And this movie clip, too. o callFrame(expr) - Call the named frame as a function. o getURL(url, target, [method]) - Load the given URL into the named target. The $target argument corresponds to HTML document targets (such as "_top" or "_blank"). The optional $method argument can be POST or GET if you want to submit variables back to the server. o loadMovie(url, target) - Load the given URL into the named target. The $target argument can be a frame name (I think), or one of the magical values "_level0" (replaces current movie) or "_level1" (loads new movie on top of current movie). o nextFrame() - Go to the next frame. o prevFrame() - Go to the last (or, rather, previous) frame. o play() - Start playing the movie. o stop() - Stop playing the movie. o toggleQuality() - Toggle between high and low quality. o stopSounds() - Stop playing all sounds. o gotoFrame(num) - Go to frame number $num. Frame numbers start at 0. o gotoFrame(name) - Go to the frame named $name. Which does a lot of good, since I haven't added frame labels yet. o setTarget(expr) - Sets the context for action. Or so they say- I really have no idea what this does. And there's one weird extra thing. The expression frameLoaded(num) can be used in if statements and while loops to check if the given frame number has been loaded yet. Well, it's supposed to, anyway, but I've never tested it and I seriously doubt it actually works. You can just use /:framesLoaded instead. Movie clips (all together now- aka sprites) have properties. You can read all of them (or can you?), you can set some of them, and here they are: o x o y o xScale o yScale o currentFrame - (read-only) o totalFrames - (read-only) o alpha - transparency level o visible - 1=on, 0=off (?) o width - (read-only) o height - (read-only) o rotation o target - (read-only) (???) o framesLoaded - (read-only) o name o dropTarget - (read-only) (???) o url - (read-only) (???) o highQuality - 1=high, 0=low (?) o focusRect - (???) o soundBufTime - (???) So, setting a sprite's x position is as simple as /box.x = 100;. Why the slash in front of the box, though? That's how flash keeps track of the sprites in the movie, just like a Unix filesystem- here it shows that box is at the top level. If the sprite named box had another sprite named biff inside of it, you'd set its x position with /box/biff.x = 100;. At least, I think so; correct me if I'm wrong here. PHP Documentation Group SWFACTION(3)
All times are GMT -4. The time now is 04:49 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy