File conversion to UTF in Schell Script

CK CK 3788 
Created at
Updated at  
1,026 0 0

Following code converts EUC-KR format document to UTF8.

 

utfconvert.sh

for FILE in `ls`
do
	if [ -f $FILE ]
	then
		iconv -f EUC-KR -t UTF-8 $FILE > utf8/$FILE
	fi
done
Tags Proxy Server Remote IP Address SecsToStr UTF8 bash zsh Facebook X
Comments 0
Similar posts
  1. Server status checking by Shell Script
    1,520
  2. How to optimize MySQL automatically in CentOS Linux
    1,010
  3. File synchronization method using WinSCP script – downloading modified files from remote server, useful way to backup files through SSH
    1,438
  4. Check if a file exists from inside a batch file
    1,974
  1. Bash script to install postfix and sasl for sending email
    1,202
  2. Guide for tmux shortcuts - split current pane, toggle pane
    1,312
  3. Tistory remote blogging example based in CLI & PHP
    2,748
  4. Generate Let’s Encrypt Wildcard SSL Certificate
    628
  5. Preventing Unauthorized Image Crawling by Bots: A Clever Discovery and How to Address It
    1,731
  6. Network diagnostic tool for IPv4/IPv6 - traceroute/traceroute6
    1,926
  7. chmod by type (directory and file permission)
    736
  8. Check network port is open or not on CentOS 7
    1,196
  9. Change MySQL port number for security purpose
    817
  10. CentOS warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory on CentOS 7
    1,085
  11. Set up an SMTP server on CentOS 7
    730
  12. How to mount windows shared folder on Centos 6.8 - mount error 12 = Cannot allocate memory to the mount.cifs(8)
    921
  13. Configuring IP Address on Centos 6.7
    795
  14. Adding new cron job for automated processing on every 10 minutes on Centos 6.7
    1,336
  15. Set timezone and time on Centos 6.7
    545
  16. How can I increase MySQL max connections?
    465
Recently updated
  1. Google OAuth Token Expiration: Causes and Solutions
    31
  2. Why 100% SEO Guarantees Better User Engagement and How to Achieve It in Your Service
    57
  3. Why SPF and DKIM Are Essential for Linux Email Servers?
    51
  4. How do I create animated background for Google Meet?
    23,221
  5. MaxMind GeoLite2 vs. DB-IP Lite vs. ip-api.com: Choosing the Right Free IP Geolocation Solution
    273
  6. Meet Valkey: Why Redis Changed Its License, Why Valkey is Better, and How to Use It as a Drop-in Replacement
    104
  7. How Rogue Web Scrapers Are Stealing My Content and Destroying My Server
    170
  8. Array of arguments passed to script in PHP
    99
  9. Invalid Auction Storms in Ad Tech
    107
  10. Building MRC-Compliant Instrumentation in Ad Tech: Implementation Steps and Key Challenges
    208
  11. The Two Clocks of Ad Server Architecture
    78
  12. Frequency Cap Architecture Overview
    527
  13. Collecting Proof-of-Play from 100,000 Screens
    153
  14. Vector Search in Relational Databases (RDBs): Trends & Usage Environments
    303
  15. What is RedisVL?
    116
  16. Designing a Skill Registry Architecture: Minimize Token Usage and Maximize AI Performance
    247
  17. TPU & GPU Cluster Management Tools
    258
  18. The Concept of Scaffolding in AI Agents
    245
  19. Beyond Static Pipelines: Architecting LLM Multi-Agent Systems for Autonomous Workflow Orchestration
    598
  20. AI-DLC vs. AI-SDLC: Model-Centric vs. System-Centric AI Development
    268
  21. Fine-Tuning Open-Weight LLMs: Training, Licensing, and Deploying Custom Models with Ollama
    354
  22. Inside the Next-Generation Streaming Architecture: Ultra-Low Latency, SGAI, and AI Codecs
    207
  23. Machine Learning: Training vs. Ranking
    230
  24. The Continuous Learning Machine: Designing a Loop That Actually Turns
    228
  25. The Next-Gen Low-Latency Standards: LL-HLS & MoQ
    203
  26. Designing a Data Curation System Around a Vector Database
    230
  27. Extracting Context from Live Video: The Architecture Got Simpler When We Stopped Building Features
    263
  28. The New Ad Stack Behind Live Sports Streaming: Inside SGAI, EABN, and the Standards Race to Fix Live Monetization
    674
  29. Designing MLOps Architectures to Handle Seasonal Data Drift in EV Fleet Models
    201
  30. From 15 to 40+ FPS: Accelerating PyTorch Object Detection on Automotive ECUs
    233