1. First crate a sfdx project/workspace from CLI (Check http://sfdccodepractices.blogspot.com/2019/01/sfdx-setup-guide.html for command help. Say folder name is “SFDX_Supported_Metadata” under "D" drive. Hence project path is "D:\SFDX_Supported_Metadata".
2. After project creation system will automatically create SFDX folder and file structure. Say our project is created under "D:\SFDX_Supported_Metadata\SfdxDemo".
3. Change directory to that folder (D:\SFDX_Supported_Metadata\SfdxDemo) in CLI.
4. Now retrieve the source code using ANT migration tool. Say source code is retrieve under "D:\ANT_Supported_Metadata" folder.
5. Now run the below sfdx command for conversion (From Ant supported meta data to SFDX supported meta data).
2. After project creation system will automatically create SFDX folder and file structure. Say our project is created under "D:\SFDX_Supported_Metadata\SfdxDemo".
3. Change directory to that folder (D:\SFDX_Supported_Metadata\SfdxDemo) in CLI.
4. Now retrieve the source code using ANT migration tool. Say source code is retrieve under "D:\ANT_Supported_Metadata" folder.
5. Now run the below sfdx command for conversion (From Ant supported meta data to SFDX supported meta data).
sfdx force:mdapi:convert -r D:\ANT_Supported_Metadata
6. Once the above command will run successfully, it will put all meta-data under project root directory with suitable sfdx structure. Root directory is “D:\SFDX_Supported_Metadata\SfdxDemo\force-app\main\default”.
7. So, our structure is finally ready for SFDX use.