GithubHelp home page GithubHelp logo

fcccode / crext Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jamflux/crext

0.0 0.0 0.0 75 KB

Command-line based ext2/ext3/ext4 partitions/file reader for Windows. rom-converter用に適当に作りました. 動けばいいんや...(震え)

Home Page: https://git.io/crext

License: GNU General Public License v3.0

QMake 0.37% C++ 62.37% C 30.69% Objective-C 6.56%

crext's Introduction

crext

This tool is command-line ext partition reader for windows.

It can read and copy files from Ext2/Ext3/Ext4 partitions of Physical HDD/Disk image files.

Attention:This tool is now developing and testing.

Many command-line options and functions will be changed.

Usage

crext [options] ePath lPath

Options:
  -?, -h, --help                        Displays this help.
  -v, --version                         Displays version information.
  -f, --fopen <ImgFilePath>             Open Image File
  -l, --lp                              List Partitions
  -s, --sp <Partition name>             Set Partition
  -c, --cmd <ls|lsl|cp|size|mode|
                    ctime|mtime|atime>  Command

Arguments:
  ePath                                 Source Path(Ext Partition)
  lPath                                 Destination Path(Host's File System)

Example

List Partition Tables

>crext -l
/dev/sda4
/dev/sda5

List Files in Disk Image File

/bin directory in system.img

>crext -f system.img -c ls /bin
aapt
adb
akmd
alsaucm_test
am
amix
aplay
app_process
app_process32
...

####List Files and detail in Disk Image File /bin directory in system.img

>crext -f system.img -c lsl /bin
-rwxr-xr-x   418148  2015-09-19 12:25  aapt
-rwxr-xr-x   121072  2015-09-19 12:25  adb
-rwxr-xr-x    38184  2015-09-19 12:25  akmd
-rwxr-xr-x     9600  2015-09-19 12:25  alsaucm_test
-rwxr-xr-x      210  2015-09-19 12:25  am
-rwxr-xr-x     5364  2015-09-19 12:25  amix
-rwxr-xr-x    13784  2015-09-19 12:25  aplay
|rwxr-xr-x       13  2015-09-19 12:25  app_process
-rwxr-xr-x    13668  2015-09-19 12:25  app_process32
...

Copy file from ext partition in HDD

Reading disk is required an Administrator permission.

open /dev/sda5 partition & copy /boot/grub/grub.cfg to C:\grub.cfg

>crext -s /dev/sda5 -c cp /boot/grub/grub.cfg C:\grub.cfg
[====================] 100%  C:\grub.cfg

Show file details in HDD

Reading disk is required an Administrator permission.

open /dev/sda5 partition & show /bin/bash mode

>crext -s /dev/sda5 -c mode /bin/bash
-rwxr-xr-x

show /bin/bash access time

>crext -s /dev/sda5 -c atime /bin/bash
2016-01-14 02:52:14

show /bin/bash size

>crext -s /dev/sda5 -c size /bin/bash
1037464

License

This program licensed under GPLv3.

crext's People

Contributors

yuk7 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.