[Solved] File Splitting And Renaming Problem


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers [Solved] File Splitting And Renaming Problem
# 1  
Old 02-09-2014
Linux [Solved] File Splitting And Renaming Problem

OK So I Recently Bought A whatbox Seed-box Act!!:cool:

I am connected to whatbox via SSH!!!

Now i have downloaded a movie and renamed it to 2yify.mp4 (800MB):o

When I TYPE the command to split it which is:)

split -b 400m 2yify.mp4

It gets renamed into two parts with different names like xxa and xda i guess!!!:(

i want to rename them as yify 1 and yify 2!!

Also please help in how to split and rename them to rar for example yify1.rar yify 2.rar

Last edited by Don Cragun; 02-09-2014 at 03:05 PM.. Reason: Disable smilies in this posting.
# 2  
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:
# 3  
Old 02-09-2014
Quote:
Originally Posted by RudiC
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.
I typed Your Exact Code, but it says no such file or directory!! what to do
# 4  
Old 02-09-2014
It would help everyone if you would post the system information of the computer you are trying to do this work on.

You said you "downloaded" the file; so we assume you are now on a unix or linux system.

What exact system are you using?
# 5  
Old 02-09-2014
Never Mind I Solved It Thankx To RudiC

I had to type 2yify.mp4 in capital 2YIFY Thank U So Much

Moderator's Comments:
Mod Comment Hmm. Sometimes I think we need to disable smilies and explanation marks - deleted
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
Login or Register to Ask a Question